Skip to content

Commit

Permalink
Merge pull request #10 from isontheline/semantic-version-gradle
Browse files Browse the repository at this point in the history
Using Axion Release Plugin
  • Loading branch information
isontheline authored May 19, 2024
2 parents 40ba3d3 + 2f7b870 commit 0d06f7e
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,12 @@ jobs:
distribution: microsoft
java-version: 17
- uses: gradle/actions/setup-gradle@v3
- name: Test dRAGon
run: gradle npmInstall npmLint test
- name: Create Release
run: gradle createRelease
- name: Build dRAGon
run: gradle npmInstall npmLint build
run: gradle build
- name: Push Release
if: github.ref == 'refs/heads/main'
run: gradle pushRelease
2 changes: 1 addition & 1 deletion backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = 'ai'
version = '0.0.1'
version = '0.0.0'

java {
sourceCompatibility = '17'
Expand Down
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
plugins {
id 'pl.allegro.tech.build.axion-release' version '1.17.2'
}

version = scmVersion.version
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dragon",
"version": "0.1.0",
"version": "0.0.0",
"private": true,
"scripts": {
"clean": "rm -rf dist build",
Expand Down

0 comments on commit 0d06f7e

Please sign in to comment.