Skip to content

Commit

Permalink
chore: Fix test if need to release.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjw committed Mar 28, 2023
1 parent 25f3cfe commit 3cd61f5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,8 @@ jobs:
run: |
git config --global user.email "andrewjwilkinson@gmail.com"
git config --global user.name "Andrew Wilkinson"
export CURRENT=$(semantic-release print-version --current)
export VERSION=$(semantic-release print-version)
if [ "$CURRENT" != "$VERSION" ]; then
if [ ! -z "$VERSION" ]; then
GH_TOKEN=${{ secrets.GITHUB_TOKEN }} PYPI_TOKEN=${{ secrets.PYPI_TOKEN }} semantic-release publish
DOCKER_TOKEN=${{ secrets.DOCKER_TOKEN }} TAG=$VERSION ./docker_push.sh
fi
Expand Down

0 comments on commit 3cd61f5

Please sign in to comment.