@@ -79,19 +79,20 @@ jobs:
79
79
git push origin $PLUGIN_VERSION
80
80
81
81
# Set next SNAPSHOT version
82
- - name : Increment Plugin Version
83
- env :
84
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
85
- run : |
86
- CURRENT_VERSION=$(grep "projectVersion=" gradle.properties | cut -d'=' -f2)
87
- IFS="-" read -ra VERSION_PARTS <<< "$CURRENT_VERSION"
88
- IFS="." read -ra VERSION_NUM <<< "${VERSION_PARTS[0]}"
89
- ((VERSION_NUM[2]++))
90
- NEW_VERSION="${VERSION_NUM[0]}.${VERSION_NUM[1]}.${VERSION_NUM[2]}-SNAPSHOT"
91
- awk -v new_version="$NEW_VERSION" '/projectVersion=/{sub(/=.*/, "=" new_version)}1' gradle.properties > tmpfile && mv tmpfile gradle.properties
92
- echo "Set $NEW_VERSION in gradle.properties"
93
- git commit -sam "chore(skip-release): set version to $NEW_VERSION"
94
- git push origin main
82
+ # TODO uncomment this when CI ( prow/integration tests ) is stable enough, or bypass github settings
83
+ # - name: Increment Plugin Version
84
+ # env:
85
+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
86
+ # run: |
87
+ # CURRENT_VERSION=$(grep "projectVersion=" gradle.properties | cut -d'=' -f2)
88
+ # IFS="-" read -ra VERSION_PARTS <<< "$CURRENT_VERSION"
89
+ # IFS="." read -ra VERSION_NUM <<< "${VERSION_PARTS[0]}"
90
+ # ((VERSION_NUM[2]++))
91
+ # NEW_VERSION="${VERSION_NUM[0]}.${VERSION_NUM[1]}.${VERSION_NUM[2]}-SNAPSHOT"
92
+ # awk -v new_version="$NEW_VERSION" '/projectVersion=/{sub(/=.*/, "=" new_version)}1' gradle.properties > tmpfile && mv tmpfile gradle.properties
93
+ # echo "Set $NEW_VERSION in gradle.properties"
94
+ # git commit -sam "chore(skip-release): set version to $NEW_VERSION"
95
+ # git push origin main
95
96
96
97
- name : Simple conventional changelog
97
98
uses : lstocchi/simple-conventional-changelog@13071c09073f5deddf03d44d9af6a8b0f81ef227 # 0.0.11
0 commit comments