👷 ci(circleci): simplify nextsv version calculation (#156)
- remove package-specific flag to streamline version calculation process - ensure consistent behavior across different release scenarios Signed-off-by: Jeremiah Russell <jerry@jrussell.ie>
This commit is contained in:
@@ -451,10 +451,10 @@ jobs:
|
||||
CRATE_VERSION="$VERSION_OVERRIDE"
|
||||
echo "Result: Will release version $CRATE_VERSION (OVERRIDE)"
|
||||
echo "Note: Version explicitly set via crate_version parameter"
|
||||
NEXTSV_VERSION=$(nextsv -bn calculate --package cull-gmail 2>/dev/null || echo "none")
|
||||
NEXTSV_VERSION=$(nextsv -bn calculate 2>/dev/null || echo "none")
|
||||
echo " (nextsv would have calculated: $NEXTSV_VERSION)"
|
||||
else
|
||||
CRATE_VERSION=$(nextsv -bn calculate --package cull-gmail 2>/dev/null || echo "")
|
||||
CRATE_VERSION=$(nextsv -bn calculate 2>/dev/null || echo "")
|
||||
if [ -z "$CRATE_VERSION" ]; then
|
||||
CRATE_VERSION="none"
|
||||
echo "Result: No crate release needed"
|
||||
|
||||
2
PRLOG.md
2
PRLOG.md
@@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- ci-enable update_pcu in label job to test fix(pr [#135])
|
||||
- 👷 ci(circleci)-add release configuration for automated deployment(pr [#154])
|
||||
- 👷 ci(circleci)-update release workflow configuration(pr [#155])
|
||||
- 👷 ci(circleci)-simplify nextsv version calculation(pr [#156])
|
||||
|
||||
### Fixed
|
||||
|
||||
@@ -441,6 +442,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
[#153]: https://github.com/jerus-org/cull-gmail/pull/153
|
||||
[#154]: https://github.com/jerus-org/cull-gmail/pull/154
|
||||
[#155]: https://github.com/jerus-org/cull-gmail/pull/155
|
||||
[#156]: https://github.com/jerus-org/cull-gmail/pull/156
|
||||
[Unreleased]: https://github.com/jerus-org/cull-gmail/compare/v0.0.16...HEAD
|
||||
[0.0.16]: https://github.com/jerus-org/cull-gmail/compare/v0.0.15...v0.0.16
|
||||
[0.0.15]: https://github.com/jerus-org/cull-gmail/compare/v0.0.14...v0.0.15
|
||||
|
||||
Reference in New Issue
Block a user