Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
Hopefully fixed :)
  • Loading branch information
mattkappel authored Jul 10, 2023
1 parent b2f4d62 commit 1cbc105
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
- name: Infer version from changelog
id: inferred-version
run: |
echo "v`head -n 1 $GITHUB_WORKSPACE/CHANGELOG.rst | grep -oP '(?<=\*\*)[0-9]+\.[0-9]+\.[0-9]+(?= -)'`"
echo "SEMVER=v`head -n 1 $GITHUB_WORKSPACE/CHANGELOG.rst | grep -oP '(?<=\*\*)[0-9]+\.[0-9]+\.[0-9]+(?= -)'`" >> $GITHUB_OUTPUT
# - name: Create tag
# uses: actions/github-script@v5
Expand All @@ -31,10 +30,8 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
ls -la $GITHUB_WORKSPACE
echo ${{ github.workspace }}
echo ${{ steps.inferred-version.SEMVER }}
gh release create ${{ steps.inferred-version.SEMVER }} --generate-notes --verify-tag
echo ${{ steps.inferred-version.outputs.SEMVER }}
gh release create ${{ steps.inferred-version.outputs.SEMVER }} --generate-notes --verify-tag
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit 1cbc105

Please sign in to comment.