Skip to content

Commit

Permalink
Issue #936: bump-cs-version missed eclipsecs-sevntu-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
stoyanK7 committed Nov 25, 2022
1 parent 45ae6b1 commit dcda4f7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .ci/bump-cs-version-in-esclipsecs-sevntu-plugin.sh
@@ -0,0 +1,16 @@
#!/bin/bash
set -e

if [[ -z $1 ]]; then
echo "ERROR: version is not set"
echo "Usage: bump-cs-version-in-eclipsecs-sevntu-plugin.sh <version>"
exit 1
fi

VERSION=$1
cd eclipsecs-sevntu-plugin

mvn versions:set-property -Dproperty=checkstyle.version -DnewVersion="$VERSION"
rm pom.xml.versionsBackup

echo "Version updated to $VERSION at eclipsecs-sevntu-plugin/pom.xml"
2 changes: 2 additions & 0 deletions .github/workflows/bump-cs-version.yml
Expand Up @@ -31,6 +31,8 @@ jobs:
run: |
./.ci/bump-cs-version-in-sevntu-checks.sh ${{ steps.VERSION.outputs.LATEST_VERSION }}
./.ci/bump-cs-version-in-sonar-plugin.sh ${{ steps.VERSION.outputs.LATEST_VERSION }}
./.ci/bump-cs-version-in-eclipsecs-sevntu-plugin.sh \
${{ steps.VERSION.outputs.LATEST_VERSION }}
- name: Commit and Push
run: |
if [ "$(git status | grep 'Changes not staged\|Untracked files')" ]; then
Expand Down

0 comments on commit dcda4f7

Please sign in to comment.