Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Axion Release Plugin #10

Merged
merged 1 commit into from
May 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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