Skip to content

Commit

Permalink
Merge pull request #35 from kaitj/release-patch-3
Browse files Browse the repository at this point in the history
precommit formatting
  • Loading branch information
kaitj authored Nov 25, 2021
2 parents 4786db8 + 732303d commit d5f6c78
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/afids-validator_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,19 @@ jobs:
- name: Checkout latest release tag
uses: actions/checkout@master
with:
ref: ${{ env.GITHUB_REF }}
ref: ${{ github.ref }}

- name: Extract version
id: latest-tag
run: |
echo ::set-output name=LATEST_VERSION::$(echo ${GITHUB_REF:10})
- name: Update setup.py version
uses: jacobtomlinson/gha-find-replace@master
with:
include: "setup.py"
find: "v[0-9]+.[0-9]+.[0-9]+"
replace: "${{ env.GITHUB_REF }}"
replace: ${{ steps.latest-tag.outputs.LATEST_VERSION }}

# - name: Commit setup.py
# run: |
Expand Down

0 comments on commit d5f6c78

Please sign in to comment.