|
@@ -55,7 +55,7 @@ jobs:
|
|
|
git checkout -b release/${{ needs.get-version.outputs.semVerStr }}
|
|
|
- name: Update build file with yq
|
|
|
run: |
|
|
|
- wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O yq && chmod +x yq
|
|
|
+ wget --no-verbose https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O yq && chmod +x yq
|
|
|
./yq -i eval '(.modules[] | select(.name == "cryptomator") | .build-options.env.VERSION) = "${{ needs.get-version.outputs.semVerStr }}"' org.cryptomator.Cryptomator.yaml
|
|
|
./yq -i eval '(.modules[] | select(.name == "cryptomator") | .sources[] | select(.type == "archive" and .url = "https://github.com/cryptomator/cryptomator/archive*") | .url) = "${{ needs.tarball.outputs.url }}"' org.cryptomator.Cryptomator.yaml
|
|
|
./yq -i eval '(.modules[] | select(.name == "cryptomator") | .sources[] | select(.type == "archive" and .url = "https://github.com/cryptomator/cryptomator/archive*") | .sha512) = "${{ needs.tarball.outputs.sha512 }}"' org.cryptomator.Cryptomator.yaml
|
|
@@ -70,7 +70,8 @@ jobs:
|
|
|
git push
|
|
|
- name: Create pull request
|
|
|
run: |
|
|
|
- PR_URL=$(gh pr create --title "Release ${{ needs.get-version.outputs.semVerStr }}" --body "> [!IMPORTANT]\n> Todos:\n> - [ ] Update maven dependencies\n> - [ ] Check for JDK update\n> - [ ] Check for JFX update")
|
|
|
+ echo "> [!IMPORTANT]\n> Todos:\n> - [ ] Update maven dependencies\n> - [ ] Check for JDK update\n> - [ ] Check for JFX update" > pr_body.md
|
|
|
+ PR_URL=$(gh pr create --title "Release ${{ needs.get-version.outputs.semVerStr }}" --body-file pr_body.md)
|
|
|
echo "FLATHUB_PR_URL=$PR_URL" >> "$GITHUB_ENV"
|
|
|
env:
|
|
|
GH_TOKEN: ${{ secrets.CRYPTOBOT_WINGET_TOKEN }}
|