From e7afb3fb411abc8bb2cedfd96b7d15261f53d9e0 Mon Sep 17 00:00:00 2001 From: Chris Bono Date: Mon, 19 Sep 2022 12:59:52 -0500 Subject: [PATCH] [CI] Knocking kinks out of release process (4) --- .github/workflows/ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 746b37ae..b5ba27fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,13 +102,13 @@ jobs: - name: Tag Release if: ${{ contains(needs.build_and_deploy.outputs.project_version, '-SNAPSHOT') || contains(needs.build_and_deploy.outputs.project_version, '-RC') || contains(needs.build_and_deploy.outputs.project_version, '-M') }} run: | - echo "Tagging $REPO/$VERSION release." + echo "Tagging $REPO@$VERSION release." git tag v$VERSION git push --tags origin - name: Create Branch and Tag Release if: ${{ !contains(needs.build_and_deploy.outputs.project_version, '-SNAPSHOT') && !contains(needs.build_and_deploy.outputs.project_version, '-RC') && !contains(needs.build_and_deploy.outputs.project_version, '-M') }} run: | - echo "Tagging $REPO/$VERSION and creating release branch." + echo "Tagging $REPO@$VERSION and creating release branch." git checkout -b $VERSION # git commit -am "[Release $VERSION] create release branch" git push origin $VERSION @@ -123,8 +123,6 @@ jobs: RELEASE_NOTES_FILE: ${{runner.temp}}/release_notes.md5 GH_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }} run: | - releaseVersion="${{ inputs.releaseVersion }}" - gh issue list \ --repo spring-projects-experimental/spring-pulsar \ --state all --json number,title,labels \ @@ -134,9 +132,9 @@ jobs: mustache $RELEASE_NOTES_ISSUES .github/rlnotes.mustache > $RELEASE_NOTES_FILE - gh release create $releaseVersion \ + gh release create $VERSION \ --draft \ - --title "Spring Pulsar $releaseVersion" \ + --title "Spring Pulsar $VERSION" \ --generate-notes \ --notes-file $RELEASE_NOTES_FILE - name: Update to next Snapshot Version