Skip to content

Commit

Permalink
Remove justification clearing step from 1.x post release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jponge committed Nov 9, 2022
1 parent 56582fa commit ff7551e
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/post-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,31 +45,3 @@ jobs:
TAG=$(echo ${REF} | sed -e 's%refs/tags/%%g')
source ~/.sdkman/bin/sdkman-init.sh && \
jbang .build/PostRelease.java --release-version=${TAG} --token=${GITHUB_TOKEN}
- name: 'Clear compatibility justifications'
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
REF: ${{ github.event.ref }}
run: |
source ~/.sdkman/bin/sdkman-init.sh
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "[email protected]"
TAG=$(echo ${REF} | sed -e 's%refs/tags/%%g')
echo "Waiting for artifacts to be available from Maven Central, otherwise the build will fail during the compatibility verification"
jbang .build/WaitForCentral.java \
--artifacts=io.smallrye.reactive:mutiny,io.smallrye.reactive:mutiny-smallrye-context-propagation,io.smallrye.reactive:mutiny-test-utils,io.smallrye.reactive:mutiny-kotlin,io.smallrye.reactive:mutiny-reactor,io.smallrye.reactive:mutiny-rxjava \
--expected-version="${TAG}"
git clone -b main "https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/smallrye/smallrye-mutiny.git" new-main
cd new-main
echo "Clearing difference justifications"
jbang .build/CompatibilityUtils.java clear --do-not-clear-version-prefix=1.
if [[ $(git diff --stat) != '' ]]; then
git add -A
git status
git commit -m "[POST-RELEASE] - Clearing breaking change justifications"
git push origin main
else
echo "No justifications cleared"
fi

0 comments on commit ff7551e

Please sign in to comment.