Skip to content

Commit ada60e1

Browse files
committed
Move bump version script to release directory
1 parent 5b50825 commit ada60e1

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

.github/workflows/bump-version.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ jobs:
1818

1919
- name: Apply Bump
2020
shell: bash
21+
env:
22+
NEW_VERSION: ${{ inputs.new_version }}
2123
run: |
22-
bash ./scripts/bump_version.sh ${{ github.event.inputs.new_version }}
24+
bash ./scripts/release/bump-version.sh "$NEW_VERSION"
2325
2426
- name: Create Pull Request
2527
uses: peter-evans/create-pull-request@v4

.github/workflows/finalize-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
7676
git switch -c release-automation/bump-version
7777
78-
python scripts/bump_version.sh "$next_version"
78+
python scripts/release/bump-version.sh "$next_version"
7979
8080
git add -u .
8181
git commit -m "Bump version to $next_version"

.github/workflows/prepare-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
git switch -c feature/update-user-manual-for-$RELEASE_VERSION
138138
git push --set-upstream origin feature/update-user-manual-for-$RELEASE_VERSION
139139
140-
scripts/bump_version.sh "$RELEASE_VERSION"
140+
scripts/release/bump-version.sh "$RELEASE_VERSION"
141141
142142
git add -u .
143143
git commit -m "Update version"

scripts/bump_version.sh renamed to scripts/release/bump-version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
if [[ -z $1 ]];
55
then
6-
echo "Usage: bump_version.sh <new_version>"
6+
echo "Usage: bump-version.sh <new_version>"
77
exit
88
fi
99

0 commit comments

Comments
 (0)