Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: use prerelase names with dot #16377

Merged
merged 1 commit into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions bin/chart-next-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,8 @@ if [ "$bump_type" = "prerelease" ]; then
# this is a first prelease
# so let's create a new release (bump minor)
# and create a first prerelease for it
# we initialize prerelease counter to 100000 instead of 0
# so that prereleases are lexicographically ordered.
# That way helm search always shows the latest version by default.
version_next=$(./bin/semver bump minor "$version_latest")
version_new=$(./bin/semver bump prerelease pre100000 "$version_next")
version_new=$(./bin/semver bump prerelease pre.1 "$version_next")
else
version_new=$(./bin/semver bump prerelease "$version_latest")
fi
Expand Down
2 changes: 1 addition & 1 deletion charts/webapp/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
description: A Helm chart for the Wire webapp in Kubernetes
name: webapp
version: 0.1.0
version: 0.4.0
Loading