Skip to content

Commit

Permalink
chore: updated consumer rules and improved release worklow
Browse files Browse the repository at this point in the history
  • Loading branch information
semirp committed Apr 8, 2024
1 parent 7f93256 commit d3244d8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/post-release-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}
token: ${{ secrets.RELEASE_ACCESS_TOKEN }}
fetch-depth: 0
- name: Install cz
run: pip install --user -U Commitizen
- name: Record previous version
run: |
echo "FROM_VERSION=$(git describe --tags $(git rev-list --tags --max-count=1))" >> $GITHUB_ENV
- name: Record release version
run: |
echo "RELEASE_VERSION=$(cz version --project)" >> $GITHUB_ENV
Expand All @@ -24,7 +28,7 @@ jobs:
git tag $RELEASE_VERSION
git push origin $RELEASE_VERSION
- name: Record changelog for current release
run: cz changelog $RELEASE_VERSION --file-name="release.md"
run: cz changelog $FROM_VERSION..$RELEASE_VERSION --file-name="release.md"
- name: Create release
uses: ncipollo/release-action@v1
with:
Expand Down
2 changes: 2 additions & 0 deletions ipay88/consumer-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# keep class BuildConfig
-keep public class **.BuildConfig { *; }

0 comments on commit d3244d8

Please sign in to comment.