Skip to content

Commit f8b7361

Browse files
committed
Created release 1.0.0
1 parent 90454bc commit f8b7361

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/maven-deploy-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
with:
1313
java-version: 1.8
1414
- name: Build
15-
run: mvn -B -DreleaseVersion=${{ github.event.release.tag_name }} package --file pom.xml
15+
run: mvn -B -DbuildVersion=${{ github.event.release.tag_name }} package --file pom.xml
1616
- name: Install GPG Key
1717
run: echo -e "$GPG_PRIVATE_KEY" | gpg --import --no-tty --batch --yes
1818
env:
1919
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
2020
- name: Deploy to OSSRH Repository
21-
run: mvn deploy -DreleaseVersion=${{ github.event.release.tag_name }} -s build/settings.xml
21+
run: mvn deploy -DbuildVersion=${{ github.event.release.tag_name }} -s build/settings.xml
2222
env:
2323
DEPLOYMENT_USERNAME: ${{ secrets.DEPLOYMENT_USERNAME }}
2424
DEPLOYMENT_PASSWORD: ${{ secrets.DEPLOYMENT_PASSWORD }}

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
<properties>
88
<maven.compiler.source>8</maven.compiler.source>
99
<maven.compiler.target>8</maven.compiler.target>
10-
<releaseVersion>1.0.0-SNAPSHOT</releaseVersion>
10+
<buildVersion>1.0.0-SNAPSHOT</buildVersion>
1111
</properties>
1212

1313
<groupId>org.javawebstack</groupId>
1414
<artifactId>abstract-data</artifactId>
15-
<version>${releaseVersion}</version>
15+
<version>${buildVersion}</version>
1616

1717
<name>abstract-data</name>
1818
<description>A library to abstractly represent structured data and convert it from and to several formats</description>

0 commit comments

Comments
 (0)