Skip to content

Commit a6e023d

Browse files
committed
increase version for testing and modify release and build workflows
Signed-off-by: jorgee <[email protected]>
1 parent 367ed6d commit a6e023d

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@ name: Gradle Build
22

33
on:
44
push:
5+
branches:
6+
- 'master'
57
pull_request:
8+
types: [opened, reopened, synchronize]
9+
workflow_dispatch:
610

711
jobs:
812
build:

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,10 @@ jobs:
2323
env:
2424
GRADLE_PUBLISH_KEY: ${{ vars.GRADLE_PUBLISH_KEY }}
2525
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
26-
run: ./gradlew publishPlugins --no-daemon --stacktrace
26+
run: ./gradlew publishPlugins --no-daemon --stacktrace
27+
28+
- name: Create Git Tag
29+
run: |
30+
VERSION=$(cat VERSION)
31+
git tag -a v$VERSION -m "Release v$VERSION"
32+
git push origin v$VERSION

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.1-alpha6
1+
0.0.1-alpha7

0 commit comments

Comments
 (0)