Skip to content

Commit

Permalink
fix: Remove echo from build pipeline
Browse files Browse the repository at this point in the history
hdakhli committed Nov 24, 2023
1 parent 0e8047c commit 7e2a552
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -44,18 +44,15 @@ jobs:
with:
release_branches: main
github_token: ${{ secrets.GITHUB_TOKEN }}
if: github.ref != 'refs/heads/main'
dry_run: true

- name: Add tag to output step
id: tag
run: |
echo "outputs: ${{ steps.tag_version.outputs }}"
if [ ${{ github.ref }} == 'refs/heads/main' ]; then
echo "new_version=${{ steps.tag_version.outputs.new_version }}" >> $GITHUB_OUTPUT
else
echo "new_version=${{ steps.tag_version.outputs.new_version }}-dev" >> $GITHUB_OUTPUT
fi
deploy:
runs-on: ubuntu-latest
needs: tags

0 comments on commit 7e2a552

Please sign in to comment.