diff --git a/.github/workflows/update-urls.yml b/.github/workflows/update-urls.yml new file mode 100644 index 000000000..6b9edc78d --- /dev/null +++ b/.github/workflows/update-urls.yml @@ -0,0 +1,18 @@ +name: Update url's + +on: + release: + types: [published] + +jobs: + update-version: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set RELEASE_VERSION + run: echo "RELEASE_VERSION=${{ github.event.release.tag_name }}" >> $GITHUB_ENV + + - name: Update download links with new version + run: node updateVersion.js