55 types : [desktop-update]
66
77jobs :
8-
98 create-pr :
109 name : Create PR for aur repo
1110 runs-on : ubuntu-latest
1918 - name : Create new branch
2019 run : |
2120 git config --global safe.directory '*'
22- git checkout -b "feature/desktop-$DESKTOP_VERSION"
21+ git checkout -b "feature/desktop-${ DESKTOP_VERSION} "
2322 - name : Update params.yaml
2423 run : |
2524 echo "TODO $DESKTOP_VERSION" > config/_default/params.yaml
@@ -29,13 +28,13 @@ jobs:
2928 git config user.email "cryptobot@users.noreply.github.com"
3029 git config push.autoSetupRemote true
3130 git stage config/_default/params.yaml
32- git commit -m "Update desktop download urls to version ${DESKTOP_VERSION}"
31+ git commit -m "Update desktop download urls to release ${DESKTOP_VERSION}"
3332 git push
3433 - name : Create pull request
3534 id : create-pr
3635 run : |
3736 printf "Created by $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID" > pr_body.md
38- PR_URL=$(gh pr create --title "Update desktop download to $ DESKTOP_VERSION" --body-file pr_body.md)
37+ PR_URL=$(gh pr create --title "Desktop release ${ DESKTOP_VERSION} " --body-file pr_body.md)
3938 echo "url=$PR_URL" >> "$GITHUB_OUTPUT"
4039 env :
4140 GH_TOKEN : ${{ secrets.CRYPTOBOT_PR_TOKEN }}
4847 SLACK_ICON : false
4948 SLACK_ICON_EMOJI : ' :bot:'
5049 SLACK_CHANNEL : ' cryptomator-desktop'
51- SLACK_TITLE : " AUR release PR created for ${{ github.event.repository.name }} ${{ github.event.client_payload.version }} ."
50+ SLACK_TITLE : " Website update PR created for release ${{ github.event.client_payload.version }} ."
5251 SLACK_MESSAGE : " See <${{ steps.create-pr.outputs.url }}|PR> on how to proceed."
5352 SLACK_FOOTER : false
54- MSG_MINIMAL : true
53+ MSG_MINIMAL : true
0 commit comments