Skip to content

Commit f637d04

Browse files
committed
Remove version sync as we no longer need it
1 parent 69e4fd8 commit f637d04

4 files changed

Lines changed: 1 addition & 173 deletions

File tree

.github/workflows/bump_libraries.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ jobs:
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"

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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: |

Makefile

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -129,20 +129,3 @@ tidy:
129129
check-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

scripts/version-sync.sh

Lines changed: 0 additions & 154 deletions
This file was deleted.

0 commit comments

Comments
 (0)