Skip to content

Commit 6493025

Browse files
committed
try another release
1 parent 4c8c2bf commit 6493025

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,14 @@ jobs:
2121
run: chmod +x gradlew
2222
- name: Build with Gradle
2323
run: ./gradlew build
24+
- uses: jungwinter/split@v1
25+
id: split
26+
with:
27+
msg: ${{ github.ref }}
28+
seperator: '/'
2429
- name: Zip the artifact
2530
run: |
26-
zip --junk-paths -r release-${{ github.ref }}-jar.zip build/libs
31+
zip --junk-paths -r release-${{ steps.split.outputs._2 }}-jar.zip build/libs
2732
- name: Create Release
2833
id: create_release
2934
uses: actions/create-release@v1
@@ -41,6 +46,6 @@ jobs:
4146
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4247
with:
4348
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
44-
asset_path: ./release-${{ github.ref }}-jar.zip
45-
asset_name: release-${{ github.ref }}-jar.zip
49+
asset_path: ./release-${{ steps.split.outputs._2 }}-jar.zip
50+
asset_name: release-${{ steps.split.outputs._2 }}-jar.zip
4651
asset_content_type: application/zip

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ test {
3838
}
3939

4040
// Manual overrides
41-
version = '0.9.5'
41+
version = '0.9.6'
4242
group = 'org.vechain'
4343
archivesBaseName = 'devkit'
4444

0 commit comments

Comments
 (0)