Compare commits

..

4 Commits

Author SHA1 Message Date
8ac2c97b0b Create release after everything is built
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2022-09-07 22:43:55 +02:00
97b4d16a33 Only create release on tag or promotion
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build was killed
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2022-09-07 22:38:08 +02:00
ced47d0cc7 Create release on build
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2022-09-07 22:34:36 +02:00
2a041ae332 Small improvements
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2022-09-07 22:19:30 +02:00
3 changed files with 19 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ local add_build_steps() = [
environment: {
CROSS_REMOTE: true,
},
depends_on: ['wait-for-docker'],
depends_on: ['Wait for Docker'],
}
for arch in archs
];
@@ -70,6 +70,22 @@ local add_build_steps() = [
],
depends_on: [getStepName(a) for a in archs],
},
{
name: 'Create release on gitea',
image: 'plugins/gitea-release',
settings: {
api_key: {
from_secret: 'gitea_token',
},
base_url: 'https://code.kiers.eu',
files: 'artifacts/*',
checksum: 'sha256',
},
when: {
event: ['tag', 'promote'],
},
depends_on: ['Show built artifacts'],
},
],
services: [{

2
Cargo.lock generated
View File

@@ -4,4 +4,4 @@ version = 3
[[package]]
name = "drone-test"
version = "0.1.0"
version = "0.1.1"

View File

@@ -1,6 +1,6 @@
[package]
name = "drone-test"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html