Skip to content

Commit 8f7f349

Browse files
authored
Merge pull request #79 from jerus-org/update-release-step
👷 ci(circleci): update CI workflow with version management
2 parents 2d1dfe4 + 8d3d63e commit 8f7f349

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.circleci/config.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,31 @@ workflows:
9696
- not: << pipeline.parameters.success-flag >>
9797
- not: << pipeline.parameters.validation-flag >>
9898
jobs:
99+
- toolkit/save_next_version:
100+
min_rust_version: << pipeline.parameters.min-rust-version >>
101+
99102
- toolkit/make_release:
100103
context:
101104
- release
102105
- bot-check
106+
requires:
107+
- toolkit/save_next_version
108+
pre-steps:
109+
- attach_workspace:
110+
at: /tmp/workspace
111+
- run:
112+
name: Set SEMVER based on next-version file
113+
command: |
114+
set +ex
115+
export SEMVER=$(cat /tmp/workspace/next-version)
116+
echo $SEMVER
117+
echo "export SEMVER=$SEMVER" >> "$BASH_ENV"
103118
ssh_fingerprint: << pipeline.parameters.fingerprint >>
104119
min_rust_version: << pipeline.parameters.min-rust-version >>
105120
when_use_workspace: false
121+
122+
- toolkit/no_release:
123+
min_rust_version: << pipeline.parameters.min-rust-version >>
124+
requires:
125+
- toolkit/save_next_version
126+
- failed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
- ci(circleci)-update configuration with new parameter(pr [#75])
1313
- chore(config)-migrate renovate config(pr [#78])
14+
- 👷 ci(circleci): update CI workflow with version management(pr [#79])
1415

1516
### Security
1617

@@ -224,6 +225,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
224225
[#76]: https://github.com/jerus-org/lambda_sqs/pull/76
225226
[#77]: https://github.com/jerus-org/lambda_sqs/pull/77
226227
[#78]: https://github.com/jerus-org/lambda_sqs/pull/78
228+
[#79]: https://github.com/jerus-org/lambda_sqs/pull/79
227229
[Unreleased]: https://github.com/jerus-org/lambda_sqs/compare/v0.2.20...HEAD
228230
[0.2.20]: https://github.com/jerus-org/lambda_sqs/compare/v0.2.19...v0.2.20
229231
[0.2.19]: https://github.com/jerus-org/lambda_sqs/compare/v0.2.18...v0.2.19

0 commit comments

Comments
 (0)