diff --git a/.github/workflows/bump-version-and-create-release.yaml b/.github/workflows/bump-version-and-create-release.yaml index 8a0ba1c..d40ff51 100644 --- a/.github/workflows/bump-version-and-create-release.yaml +++ b/.github/workflows/bump-version-and-create-release.yaml @@ -13,7 +13,7 @@ jobs: permissions: contents: write outputs: - new_tag: ${{ steps.bump_version.outputs.new_tag }} + new_version: ${{ steps.bump_version.outputs.new_version }} steps: - name: Check out the repository uses: actions/checkout@v4 @@ -49,18 +49,18 @@ jobs: - name: Update version file with new version run: | - echo "New version: ${{ needs.compute-version.outputs.new_tag }}" - echo "VERSION=${{ needs.compute-version.outputs.new_tag }}" > version + echo "New version: ${{ needs.compute-version.outputs.new_version }}" + echo "VERSION=${{ needs.compute-version.outputs.new_version }}" > version git config --local user.name "github-actions[bot]" git config --local user.email "github-actions[bot]@users.noreply.github.com" git add version - git commit -m "chore: update version file to ${{ needs.compute-version.outputs.new_tag }}" + git commit -m "chore: update version file to ${{ needs.compute-version.outputs.new_version }}" git push - name: Push new tag run: | - git tag ${{ needs.compute-version.outputs.new_tag }} - git push origin ${{ needs.compute-version.outputs.new_tag }} + git tag ${{ needs.compute-version.outputs.new_version }} + git push origin ${{ needs.compute-version.outputs.new_version }} create-release: @@ -73,7 +73,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - ref: ${{ needs.compute-version.outputs.new_tag }} + ref: ${{ needs.compute-version.outputs.new_version }} - name: Build release packages uses: docker/build-push-action@v6 @@ -93,7 +93,7 @@ jobs: uses: ncipollo/release-action@v1 with: artifacts: "/tmp/artifacts/release/*" - tag: ${{ needs.compute-version.outputs.new_tag }} + tag: ${{ needs.compute-version.outputs.new_version }} body: ${{ github.event.pull_request.body }} @@ -105,11 +105,11 @@ jobs: uses: docker/build-push-action@v6 with: build-args: | - RELEASE_DOWNLOAD_URL=https://github.com/KIT-MRT/util_caching/releases/download/${{ needs.compute-version.outputs.new_tag }} + RELEASE_DOWNLOAD_URL=https://github.com/KIT-MRT/util_caching/releases/download/${{ needs.compute-version.outputs.new_version }} push: false tags: release_tester target: release_test - name: Run unit tests with/against released version run: | - docker run --rm release_tester \ No newline at end of file + docker run --rm release_tester