Skip to content

Commit

Permalink
Create release branch before release
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisaruGuruge authored Nov 16, 2023
1 parent 6167bd7 commit 5bbc69a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release-package-connector-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ jobs:
skip-dirs: "examples"

- name: Get Release Version
run: echo "VERSION=$((grep -w 'version' | cut -d= -f2) < gradle.properties | rev | cut --complement -d- -f1 | rev)" >> $GITHUB_ENV
run: |
echo "VERSION=$((grep -w 'version' | cut -d= -f2) < gradle.properties | rev | cut --complement -d- -f1 | rev)" >> $GITHUB_ENV
git checkout -b release-${VERSION}
- name: Remove Target Directory
run: |
Expand Down

0 comments on commit 5bbc69a

Please sign in to comment.