Skip to content
Snippets Groups Projects
Commit d9905321 authored by Éloïs's avatar Éloïs
Browse files

[ci] Restoring the normal job order

parent e4126438
No related branches found
No related tags found
1 merge request!68Releases
stages: stages:
- package
- prerelease
- publish
- build_and_tests - build_and_tests
- fmt - fmt
- clippy - clippy
- package
- prerelease
- publish
before_script: before_script:
- export PATH="$HOME/.cargo/bin:$PATH" - export PATH="$HOME/.cargo/bin:$PATH"
...@@ -116,6 +116,7 @@ package:prod:linux-x64: ...@@ -116,6 +116,7 @@ package:prod:linux-x64:
- work/bin/ - work/bin/
expire_in: 2 weeks expire_in: 2 weeks
only: only:
- dev
- tags - tags
.release_jobs: &release_jobs .release_jobs: &release_jobs
...@@ -125,6 +126,7 @@ package:prod:linux-x64: ...@@ -125,6 +126,7 @@ package:prod:linux-x64:
script: script:
- python3 .gitlab/releaser - python3 .gitlab/releaser
only: only:
- dev
- tags - tags
prerelease: prerelease:
...@@ -152,6 +154,7 @@ publish:crate: ...@@ -152,6 +154,7 @@ publish:crate:
- cargo login $DUNITER_CRATES_TOKEN - cargo login $DUNITER_CRATES_TOKEN
- cargo publish - cargo publish
only: only:
- publish-crate
- tags - tags
allow_failure: false allow_failure: false
when: manual when: manual
...@@ -170,4 +173,4 @@ pages: ...@@ -170,4 +173,4 @@ pages:
allow_failure: true allow_failure: true
when: manual when: manual
only: only:
- master - dev
\ No newline at end of file \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment