Skip to content

Commit

Permalink
github action build_release another attempt to fix release process wi…
Browse files Browse the repository at this point in the history
…th README.md update (#18)
  • Loading branch information
morisil authored Aug 29, 2024
1 parent 63781bb commit 057772f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,18 @@ jobs:
echo "Branch not found for tag $TAG"
exit 1
fi
echo "::set-output name=branch::$BRANCH"
echo Branch: $BRANCH
echo "BRANCH=$BRANCH" >> $GITHUB_ENV
- name: Checkout branch HEAD
run: git checkout ${BRANCH}

- name: Update README
run: sed -i 's/com\.xemantic\.kotlin:xemantic-kotlin-swing-dsl-\(core\|test\):[0-9]\+\(\.[0-9]\+\)*\>/com.xemantic.kotlin:xemantic-kotlin-swing-dsl-\1:${VERSION}/g' README.md
run: sed -i 's/com\.xemantic\.kotlin:xemantic-kotlin-swing-dsl-\(core\|test\):[0-9]\+\(\.[0-9]\+\)*\>/com.xemantic.kotlin:xemantic-kotlin-swing-dsl-\1:${{ VERSION }}/g' README.md

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.WORKFLOW_SECRET }}
commit-message: README.md gradle dependencies update to ${VERSION}
title: PR Action - README.md gradle dependencies update to ${VERSION}
commit-message: README.md gradle dependencies update to ${{ VERSION }}
title: PR Action - README.md gradle dependencies update to ${{ VERSION }}

0 comments on commit 057772f

Please sign in to comment.