@@ -28,27 +28,29 @@ jobs:
2828 java-version : 11
2929 cache : gradle
3030
31- # Set environment variables
32- - name : Export Properties
33- id : properties
34- shell : bash
35- run : |
36- CHANGELOG="$(cat << 'EOM' | sed -e 's/^[[:space:]]*$//g' -e '/./,$!d'
37- ${{ github.event.release.body }}
38- EOM
39- )"
40-
41- CHANGELOG="${CHANGELOG//'%'/'%25'}"
42- CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
43- CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
44- echo "::set-output name=changelog::$CHANGELOG"
31+ # # Set environment variables
32+ # - name: Export Properties
33+ # id: properties
34+ # shell: bash
35+ # run: |
36+ # CHANGELOG="$(cat << 'EOM' | sed -e 's/^[[:space:]]*$//g' -e '/./,$!d'
37+ # ${{ github.event.release.body }}
38+ # EOM
39+ # )"
40+ #
41+ # CHANGELOG="${CHANGELOG//'%'/'%25'}"
42+ # CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
43+ # CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
44+ # echo "::set-output name=changelog::$CHANGELOG"
45+
4546 # Update Unreleased section with the current release note
46- - name : Patch Changelog
47- if : ${{ steps.properties.outputs.changelog != '' }}
48- env :
49- CHANGELOG : ${{ steps.properties.outputs.changelog }}
50- run : |
51- ./gradlew patchChangelog --release-note="$CHANGELOG"
47+ # - name: Patch Changelog
48+ # if: ${{ steps.properties.outputs.changelog != '' }}
49+ # env:
50+ # CHANGELOG: ${{ steps.properties.outputs.changelog }}
51+ # run: |
52+ # ./gradlew patchChangelog --release-note="$CHANGELOG"
53+
5254 # Publish the plugin to the Marketplace
5355 - name : Publish Plugin
5456 env :
@@ -61,21 +63,21 @@ jobs:
6163 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6264 run : gh release upload ${{ github.event.release.tag_name }} ./build/distributions/*
6365
64- # Create pull request
65- - name : Create Pull Request
66- if : ${{ steps.properties.outputs.changelog != '' }}
67- env :
68- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
69- run : |
70- VERSION="${{ github.event.release.tag_name }}"
71- BRANCH="changelog-update-$VERSION"
72- git config user.email "[email protected] " 73- git config user.name "GitHub Action"
74- git checkout -b $BRANCH
75- git commit -am "Changelog update - $VERSION"
76- git push --set-upstream origin $BRANCH
77- gh pr create \
78- --title "Changelog update - \`$VERSION\`" \
79- --body "Current pull request contains patched \`CHANGELOG.md\` file for the \`$VERSION\` version." \
80- --base main \
81- --head $BRANCH
66+ # # Create pull request
67+ # - name: Create Pull Request
68+ # if: ${{ steps.properties.outputs.changelog != '' }}
69+ # env:
70+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
71+ # run: |
72+ # VERSION="${{ github.event.release.tag_name }}"
73+ # BRANCH="changelog-update-$VERSION"
74+ # git config user.email "[email protected] "75+ # git config user.name "GitHub Action"
76+ # git checkout -b $BRANCH
77+ # git commit -am "Changelog update - $VERSION"
78+ # git push --set-upstream origin $BRANCH
79+ # gh pr create \
80+ # --title "Changelog update - \`$VERSION\`" \
81+ # --body "Current pull request contains patched \`CHANGELOG.md\` file for the \`$VERSION\` version." \
82+ # --base main \
83+ # --head $BRANCH
0 commit comments