diff --git a/.github/workflows/build_installation_package.yaml b/.github/workflows/build_installation_package.yaml index 64a8e4f..2cf1d12 100644 --- a/.github/workflows/build_installation_package.yaml +++ b/.github/workflows/build_installation_package.yaml @@ -23,6 +23,23 @@ jobs: $(which python3) --version bash download_dependencies.sh DMWM_GIT_TAG=$DMWM_GIT_TAG DMWM_GIT_URL=$DMWM_GIT_URL DQMGUI_GIT_TAG=$DQMGUI_GIT_TAG ROOT_GIT_URL=$ROOT_GIT_URL ROOT_GIT_TAG=$ROOT_GIT_TAG bash build_installation_package.sh + echo "Automatically generated dummy release for making the installation + package publicly available. + + Used: + + * DMWM_GIT_TAG=${{ env.DMWM_GIT_TAG }} + + * DMWM_GIT_URL=${{ env.DMWM_GIT_URL }} + + * DQMGUI_GIT_TAG=${{ env.DQMGUI_GIT_TAG }} + + * ROOT_GIT_URL=${{ env.ROOT_GIT_URL }} + + * ROOT_GIT_TAG=${{ env.ROOT_GIT_TAG }} + + " >> /tmp/release_body.md + echo "RELEASE_TAG=deployment_${{ env.DMWM_GIT_TAG }}_dqmgui_${{ env.DQMGUI_GIT_TAG }}_root_${{ env.ROOT_GIT_TAG }}" >> $GITHUB_ENV - name: Archive package artifact uses: actions/upload-artifact@v3 with: @@ -34,27 +51,9 @@ jobs: # This will automatically update the artifacts of the "latest" release, # even though the "latest" tag does match with the actually latest commit. - name: Release - env: - DMWM_GIT_TAG: ${{ env.DMWM_GIT_TAG }} - DMWM_GIT_URL: ${{ env.DMWM_GIT_URL }} - DQMGUI_GIT_TAG: ${{ env.DQMGUI_GIT_TAG }} - DQMGUI_GIT_URL: ${{ env.DQMGUI_GIT_URL }} - ROOT_GIT_URL: ${{ env.DQMGUI_GIT_TAG }} - ROOT_GIT_TAG: ${{ env.DQMGUI_GIT_URL }} uses: ncipollo/release-action@v1 with: artifacts: "/tmp/dqmgui/dqmgui_installation_package.tar.gz" - body: - "Automatically generated dummy release for making the installation - package publicly available. - - Used: - - * DMWM_GIT_TAG=${{ env.DMWM_GIT_TAG }} - * DMWM_GIT_URL=${{ env.DMWM_GIT_URL }} - * DQMGUI_GIT_TAG=${{ env.DQMGUI_GIT_TAG }} - * ROOT_GIT_URL=${{ env.ROOT_GIT_URL }} - * ROOT_GIT_TAG=${{ env.ROOT_GIT_TAG }} - " - tag: "deployment_${{ env.DMWM_GIT_TAG }}_dqmgui=${{ env.DQMGUI_GIT_TAG }}_root_${{ env.ROOT_GIT_TAG }}" + body: "/tmp/release_body.md" + tag: ${{ env.RELEASE_TAG }} allowUpdates: "true"