File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 package=${package%\[*}
3838 changelog_message="Bump $package to ${{ steps.metadata.outputs.new-version }}"
3939 ./scripts/version-increment.sh "$changelog_message"
40- make version-sync
4140 - uses : stefanzweifel/git-auto-commit-action@v5
4241 with :
4342 commit_message : " Bump libraries and release"
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ jobs:
134134 - name : Extract version from __version__.py
135135 id : extract-version
136136 run : |
137- VERSION=$(grep -oP "(?<=^__version__ = ')[^']+" prepline_general/__version__.py)
137+ VERSION=$(python3 -c "with open(' prepline_general/__version__.py') as f: exec(f.read()); print(__version__)" )
138138 echo "VERSION=$VERSION" >> $GITHUB_ENV
139139 - name : Push multiarch manifest
140140 run : |
Original file line number Diff line number Diff line change @@ -129,20 +129,3 @@ tidy:
129129check-scripts :
130130 # Fail if any of these files have warnings
131131 scripts/shellcheck.sh
132-
133- # # check-version: run check to ensure version in CHANGELOG.md matches references in files
134- .PHONY : check-version
135- check-version :
136- # Fail if syncing version would produce changes
137- scripts/version-sync.sh -c \
138- -s CHANGELOG.md \
139- -f ${PACKAGE_NAME}/api/app.py release \
140- -f ${PACKAGE_NAME}/api/general.py release
141-
142- # # version-sync: update references to version with most recent version from CHANGELOG.md
143- .PHONY : version-sync
144- version-sync :
145- scripts/version-sync.sh \
146- -s CHANGELOG.md \
147- -f ${PACKAGE_NAME} /api/app.py release \
148- -f ${PACKAGE_NAME} /api/general.py release
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments