Skip to content

Commit

Permalink
Increment version 1.1.0 (#576)
Browse files Browse the repository at this point in the history
* Increment minor version to 1.1.0

* Fix release script when some special characters are in the version.txt
  • Loading branch information
ferc authored Nov 7, 2024
1 parent 31d620a commit 453cd09
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,12 @@ jobs:
shell: bash
run: |
set -x
BASE_VERSION=$(cat version.txt)
BASE_VERSION=$(tr -d '\r' < version.txt | xargs)
IFS='.' read -r -a version_parts <<< "$BASE_VERSION"
# Ensure all version parts are set
for i in {0..2}; do
version_parts[$i]=${version_parts[$i]:-0}
done
((version_parts[2]++))
new_version="${version_parts[0]}.${version_parts[1]}.${version_parts[2]}"
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.6
1.1.0

0 comments on commit 453cd09

Please sign in to comment.