Skip to content

Commit b4d268a

Browse files
committed
Update action name and messages for failure
1 parent 44671a4 commit b4d268a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/presto-release-prepare.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Presto Stable - Prepare Release
1+
name: Presto Stable Release - Prepare
22

33
on:
44
workflow_dispatch:
@@ -53,7 +53,6 @@ jobs:
5353
-Dexpression=project.version -q -ntp -DforceStdout | tail -n 1)
5454
echo "PRESTO_RELEASE_VERSION=$PRESTO_RELEASE_VERSION" >> $GITHUB_ENV
5555
echo "PRESTO_RELEASE_VERSION=$PRESTO_RELEASE_VERSION"
56-
echo "In case cut release failed, please delete the tag ${PRESTO_RELEASE_VERSION} and the branch release-${PRESTO_RELEASE_VERSION} manually, then re-run this action."
5756
5857
- name: Update version in master
5958
run: |
@@ -73,6 +72,11 @@ jobs:
7372
git switch -c release-${{ env.PRESTO_RELEASE_VERSION }}
7473
git log --pretty="format:%ce: %s" -3
7574
git push origin release-${{ env.PRESTO_RELEASE_VERSION }}
75+
echo "In case cut release failed, please fix manually by running the following commands:"
76+
echo "git clone ${{ github.server_url }}/${{ github.repository }}.git"
77+
echo "git checkout ${{ env.PRESTO_RELEASE_VERSION }}"
78+
echo "git switch -c release-${{ env.PRESTO_RELEASE_VERSION }}"
79+
echo "git push origin release-${{ env.PRESTO_RELEASE_VERSION }}"
7680
7781
release-notes:
7882
needs: [cut-release]

0 commit comments

Comments
 (0)