Skip to content

Commit

Permalink
Hotfix enhance exiting (#561)
Browse files Browse the repository at this point in the history
* fix: continue instead of exit on failed to enhance metadata

* fix: added type to release-please. changed version to version.txt
  • Loading branch information
dreulavelle authored Jul 23, 2024
1 parent 657068f commit dc637d9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

- name: Read VERSION file
id: version
run: echo "VERSION=$(cat VERSION)" >> "$GITHUB_OUTPUT"
run: echo "VERSION=$(cat version.txt)" >> "$GITHUB_OUTPUT"

- name: Build and push Docker image
uses: docker/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
- uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}

release-type: simple
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

2 changes: 1 addition & 1 deletion src/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
root_dir = Path(__file__).resolve().parents[2]

data_dir_path = root_dir / "data"
version_file_path = root_dir / "VERSION"
version_file_path = root_dir / "version.txt"

0 comments on commit dc637d9

Please sign in to comment.