diff --git a/.github/workflows/post-release-merge.yml b/.github/workflows/post-release-merge.yml index 235d144..84f0d9f 100644 --- a/.github/workflows/post-release-merge.yml +++ b/.github/workflows/post-release-merge.yml @@ -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 @@ -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: diff --git a/ipay88/consumer-rules.pro b/ipay88/consumer-rules.pro index e69de29..be827e3 100644 --- a/ipay88/consumer-rules.pro +++ b/ipay88/consumer-rules.pro @@ -0,0 +1,2 @@ +# keep class BuildConfig +-keep public class **.BuildConfig { *; }