Skip to content

Commit

Permalink
fixes the bug preventing automatic releases to miss the datapackage a…
Browse files Browse the repository at this point in the history
…rtifacts for repos that are not all lowercase
  • Loading branch information
johentsch committed Jan 26, 2024
1 parent 2f12c12 commit b774e16
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/version_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,14 @@ jobs:
pip install ms3
ms3 transform -M -N -X -F -C -D
- name: "Store lowercase repo name"
run: |
echo "REPO=${GITHUB_REPOSITORY@L}" >> ${GITHUB_ENV}
- uses: ncipollo/release-action@v1
with:
artifacts: "${{ github.event.repository.name }}.zip,\
${{ github.event.repository.name }}.datapackage.json,\
${{ github.event.repository.name }}.datapackage.errors"
artifacts: "${REPO}.zip,\
${REPO}.datapackage.json,\
${REPO}.datapackage.errors"
body: "${{ github.event.pull_request.body }}"
name: "${{ github.event.pull_request.title }}"
tag: "${{ steps.generate_tag.outputs.new_tag }}"
Expand Down

0 comments on commit b774e16

Please sign in to comment.