diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 31826ab4f..2ba132388 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -43,28 +43,28 @@ jobs: REGISTRY=${{ env.registry }} \ CAPVCD_IMG=${{ env.repository }} \ VERSION=${{ env.version }} - # - name: Create (draft) GitHub release - # run: | - # gh release create ${{ env.version }} \ - # --title ${{ env.version }} \ - # --draft - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # - name: Generate release artifacts, and attach them to the GitHub release - # # Because steps do not share data, the artifacts must be generated and - # # uploaded in one step. - # # - # # Also see note on make variables, above. - # run: | - # make release-manifests \ - # --makefile d2iq.Makefile \ - # REGISTRY=${{ env.registry }} \ - # CAPVCD_IMG=${{ env.repository }} \ - # VERSION=${{ env.version }} - # gh release upload \ - # --clobber \ - # ${{ env.version }} \ - # metadata.yaml \ - # templates/infrastructure-components.yaml - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Create (draft) GitHub release + run: | + gh release create ${{ env.version }} \ + --title ${{ env.version }} \ + --draft + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Generate release artifacts, and attach them to the GitHub release + # Because steps do not share data, the artifacts must be generated and + # uploaded in one step. + # + # Also see note on make variables, above. + run: | + make release-manifests \ + --makefile d2iq.Makefile \ + REGISTRY=${{ env.registry }} \ + CAPVCD_IMG=${{ env.repository }} \ + VERSION=${{ env.version }} + gh release upload \ + --clobber \ + ${{ env.version }} \ + metadata.yaml \ + templates/infrastructure-components.yaml + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}