File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 1818 shell : bash
1919 # We only need `major.minor` in Readme so we cut the full version string to the first two tokens
2020 run : |
21- echo "current_release_minor=$(cat VERSION.txt | cut -d "." -f 1,2)" >> $GITHUB_OUTPUT
21+ echo "current_release_minor=$(cut -d "." -f 1,2 < VERSION.txt )" >> " $GITHUB_OUTPUT"
2222
2323 - name : Create new version branch
2424 run : |
@@ -33,15 +33,12 @@ jobs:
3333 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3434 run : |
3535 git checkout main
36- cat VERSION.txt | awk -F. '/[0-9]+\./{$2++;print}' OFS=. | tee VERSION.txt
36+ NEW_VERSION=$(awk -F. '/[0-9]+\./{$2++;print}' OFS=. < VERSION.txt)
37+ echo "$NEW_VERSION" > VERSION.txt
3738 cat VERSION.txt
38- pip install --upgrade pip
39- pip install .[all]
40- pip install ./rest_api
41- python .github/utils/generate_openapi_specs.py
4239 git checkout -b bump-version
4340 git add .
44- git commit -m "Update unstable version and openapi schema "
41+ git commit -m "Update unstable version"
4542 git push -u origin bump-version
4643 gh pr create -B main -H bump-version --title 'Bump unstable version' --body 'Part of the release process' --label 'ignore-for-release-notes'
4744
You can’t perform that action at this time.
0 commit comments