mirror of
https://github.com/YouHaveTrouble/BlockEdit.git
synced 2026-06-29 13:36:19 +00:00
yet another versioned name attempt
This commit is contained in:
@@ -14,11 +14,11 @@ jobs:
|
|||||||
java-version: 17
|
java-version: 17
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn -B package --file pom.xml
|
run: mvn -B package --file pom.xml -Drevision=BlockEdit-${{ github.ref_name }}-${{ github.sha::6 }}
|
||||||
- name: Copy artifacts
|
- name: Copy artifacts
|
||||||
run: mkdir staging && cp target/BlockEdit-*.jar staging
|
run: mkdir staging && cp target/BlockEdit-*.jar staging
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: BlockEdit
|
name: BlockEdit-${GITHUB_REF}-${GITHUB_SHA::6}
|
||||||
path: staging
|
path: staging
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>me.youhavetrouble</groupId>
|
<groupId>me.youhavetrouble</groupId>
|
||||||
<artifactId>BlockEdit</artifactId>
|
<artifactId>BlockEdit</artifactId>
|
||||||
<version>1.0-SNAPSHOT</version>
|
<version>${revision}</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>BlockEdit</name>
|
<name>BlockEdit</name>
|
||||||
@@ -15,6 +15,7 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<java.version>16</java.version>
|
<java.version>16</java.version>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
<revision>1.0-SNAPSHOT</revision>
|
||||||
</properties>
|
</properties>
|
||||||
<url>youhavetrouble.me</url>
|
<url>youhavetrouble.me</url>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user