From b774e16e4837e834f15f7280fb7e0d7ca7b4ac24 Mon Sep 17 00:00:00 2001 From: Johannes Hentschel Date: Fri, 26 Jan 2024 18:16:43 +0100 Subject: [PATCH] fixes the bug preventing automatic releases to miss the datapackage artifacts for repos that are not all lowercase --- .github/workflows/version_release.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/version_release.yml b/.github/workflows/version_release.yml index 0fd8eab..b4f7d0b 100644 --- a/.github/workflows/version_release.yml +++ b/.github/workflows/version_release.yml @@ -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 }}"