Skip to content

Commit

Permalink
Merge pull request #41 from aecelaya/main
Browse files Browse the repository at this point in the history
Update VERSION in docker-publish.yml.
  • Loading branch information
aecelaya authored Sep 20, 2024
2 parents cbd35a5 + b4c0b78 commit 9f1d6d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Extract and transform version from pyproject.toml
id: extract_version
run: |
VERSION=$(grep -m 1 version pyproject.toml | tr -s ' ' | tr -d '"' | tr -d "'" | cut -d' ' -f3)
VERSION=$(grep -m 1 version ./pyproject.toml | tr -s ' ' | tr -d '"' | tr -d "'" | cut -d' ' -f3)
# Replace "-alpha" with "a0", "-beta" with "b0", and so on
DOCKER_VERSION=$(echo $VERSION | sed 's/-alpha/a0/' | sed 's/-beta/b0/' | sed 's/-rc/rc0/')
echo "DOCKER_VERSION=$DOCKER_VERSION" >> $GITHUB_ENV
Expand Down

0 comments on commit 9f1d6d0

Please sign in to comment.