Skip to content

Commit ac57243

Browse files
committed
Adds component to package name
1 parent 37b3710 commit ac57243

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.drone.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pipeline:
3030

3131
# Upload packages
3232
- mv matrixio-xc3sprog_$${PKG_VER}_armhf.deb
33-
matrixio-xc3sprog_${DISTRIBUTION}-${CODENAME}-$${PKG_VER}_armhf.deb
33+
matrixio-xc3sprog_${DISTRIBUTION}-${CODENAME}-$${PKG_VER}-$${COMPONENT}_armhf.deb
3434
- echo "$${GPG_PASS}" | deb-s3 upload --bucket apt.matrix.one
3535
--prefix $DISTRIBUTION
3636
--component $COMPONENT
@@ -39,7 +39,7 @@ pipeline:
3939
--secret-access-key $${AWS_SECRET_ACCESS_KEY}
4040
--sign info@matrix.one
4141
--gpg-options="--batch --passphrase-fd 0"
42-
matrixio-xc3sprog_${DISTRIBUTION}-${CODENAME}-$${PKG_VER}_armhf.deb
42+
matrixio-xc3sprog_${DISTRIBUTION}-${CODENAME}-$${PKG_VER}-$${COMPONENT}_armhf.deb
4343

4444
# Render the notification template for the notify-slack step
4545
- j2 --var-delimiter '%%' .drone/slack.tpl > notification.tpl
@@ -49,7 +49,6 @@ pipeline:
4949
secrets: [slack_webhook]
5050
username: drone-ci-builder
5151
channel: notifications
52-
env-file: tmpenv
5352
when:
5453
status: [ success, failure ]
5554
branch: master

.drone/slack.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{{#success build.status}}
22
{{build.author}} just built `{{repo.name}}:{{build.branch}}` from <%%DRONE_COMMIT_LINK%%|#{{truncate build.commit 8}}>
33
:new: {{build.message}}
4-
:debian: The new `matrixio-xc3sprog_%%DISTRIBUTION%%-%%CODENAME%%-%%PKG_VER%%_armhf.deb` was published to apt.matrix.one/%%DISTRIBUTION%% %%CODENAME%% %%COMPONENT%%
4+
:debian: The new `matrixio-xc3sprog_%%DISTRIBUTION%%-%%CODENAME%%-%%PKG_VER%%-%%COMPONENT%%_armhf.deb` was published to apt.matrix.one/%%DISTRIBUTION%% %%CODENAME%% %%COMPONENT%%
55
{{else}}
66
{{build.author}} just broke the build of `{{repo.name}}:{{build.branch}}` with <%%DRONE_COMMIT_LINK%%|#{{truncate build.commit 8}}>
77
:new: :zombie: {{build.message}}
8-
:debian: The package `matrixio-xc3sprog_%%DISTRIBUTION%%-%%CODENAME%%-%%PKG_VER%%_armhf.deb` failed to build.
8+
:debian: The package `matrixio-xc3sprog_%%DISTRIBUTION%%-%%CODENAME%%-%%PKG_VER%%-%%COMPONENT%%_armhf.deb` failed to build.
99
{{/success}}
1010
:stopwatch: {{ since build.started}}
1111
:gear: {{build.link}}

0 commit comments

Comments
 (0)