Skip to content

Commit 2915673

Browse files
authored
Merge pull request #13 from asdf-format/eslavich-lz4-compressor
Another tweak to publish
2 parents 9091817 + 1eefe9e commit 2915673

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish jars to the GitHub maven repository
1+
name: Publish to Maven Central
22

33
on:
44
workflow_dispatch:
@@ -24,7 +24,10 @@ jobs:
2424
java-version: "21"
2525
distribution: corretto
2626

27-
- name: Publish package
27+
- name: Set version
28+
run: mvn versions:set -DnewVersion=${{ github.ref_name }}
29+
30+
- name: Publish
2831
run: mvn --batch-mode deploy
2932
env:
3033
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<properties>
3636
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3737
<maven.compiler.release>8</maven.compiler.release>
38-
<revision>0.1-alpha-6</revision>
38+
<revision>dev</revision>
3939
<lombok.version>1.18.36</lombok.version>
4040
<snakeyaml.version>2.4</snakeyaml.version>
4141
<maven-clean-plugin.version>3.4.0</maven-clean-plugin.version>

0 commit comments

Comments
 (0)