Skip to content

Commit e7afb3f

Browse files
committed
[CI] Knocking kinks out of release process (4)
1 parent 44f7aa1 commit e7afb3f

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,13 @@ jobs:
102102
- name: Tag Release
103103
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') }}
104104
run: |
105-
echo "Tagging $REPO/$VERSION release."
105+
echo "Tagging $REPO@$VERSION release."
106106
git tag v$VERSION
107107
git push --tags origin
108108
- name: Create Branch and Tag Release
109109
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') }}
110110
run: |
111-
echo "Tagging $REPO/$VERSION and creating release branch."
111+
echo "Tagging $REPO@$VERSION and creating release branch."
112112
git checkout -b $VERSION
113113
# git commit -am "[Release $VERSION] create release branch"
114114
git push origin $VERSION
@@ -123,8 +123,6 @@ jobs:
123123
RELEASE_NOTES_FILE: ${{runner.temp}}/release_notes.md5
124124
GH_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
125125
run: |
126-
releaseVersion="${{ inputs.releaseVersion }}"
127-
128126
gh issue list \
129127
--repo spring-projects-experimental/spring-pulsar \
130128
--state all --json number,title,labels \
@@ -134,9 +132,9 @@ jobs:
134132
135133
mustache $RELEASE_NOTES_ISSUES .github/rlnotes.mustache > $RELEASE_NOTES_FILE
136134
137-
gh release create $releaseVersion \
135+
gh release create $VERSION \
138136
--draft \
139-
--title "Spring Pulsar $releaseVersion" \
137+
--title "Spring Pulsar $VERSION" \
140138
--generate-notes \
141139
--notes-file $RELEASE_NOTES_FILE
142140
- name: Update to next Snapshot Version

0 commit comments

Comments
 (0)