From 141f9e76229e365c660e510859d9286f9e305c0e Mon Sep 17 00:00:00 2001 From: Guillermo Orellana Date: Mon, 12 Feb 2024 15:25:35 +0100 Subject: [PATCH] version autobump --- .github/workflows/bump_version.yaml | 28 ++++++++++++++++++++++++++++ gradle.properties | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/bump_version.yaml diff --git a/.github/workflows/bump_version.yaml b/.github/workflows/bump_version.yaml new file mode 100644 index 0000000..5ca5933 --- /dev/null +++ b/.github/workflows/bump_version.yaml @@ -0,0 +1,28 @@ +name: Version Bump +on: + release: + types: + - created + workflow_dispatch: + inputs: + auto-version-bump: + description: 'Should we bump the version?' + required: true + default: 'false' +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout Latest Commit + uses: actions/checkout@v3 + + - name: Bump Version + id: bump + uses: Plugily-Projects/version-bump-action@v6 + with: + github-token: ${{ secrets.github_token }} + git-committer: 'BOT' + auto-version-bump: true + + - name: Print Version + run: "echo 'New Version: ${{steps.bump.outputs.version}}'" diff --git a/gradle.properties b/gradle.properties index cd15704..3892eba 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -version=0.0.1 +version=0.1.0 # Kotlin #kotlin.code.style=official kotlin.js.compiler=ir