10000 fix releasing new version · huyu-tom/simdjson-java@5289fa0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5289fa0

Browse files
committed
fix releasing new version
1 parent 6bd879c commit 5289fa0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
GPG_PRIVATE_KEY_PASSWORD: ${{ secrets.GPG_PRIVATE_KEY_PASSWORD }}
4747

4848
- name: Create GitHub Release
49-
if: github.ref == 'refs/heads/main'
49+
if: github.ref == 'refs/heads/main' && !endsWith(steps.release.outputs.released_version, '-SNAPSHOT')
5050
run: gh release create "${{ steps.release.outputs.released_version }}" --generate-notes
5151
env:
5252
GH_TOKEN: ${{ github.token }}

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ plugins {
1414
id 'signing'
1515
}
1616

17-
group = 'org.simdjson'
18-
version = scmVersion.version
19-
2017
scmVersion {
2118
versionCreator('versionWithBranch')
2219
tag {
2320
prefix = ''
2421
}
2522
}
2623

24+
group = 'org.simdjson'
25+
version = scmVersion.version
26+
2727
repositories {
2828
mavenCentral()
2929
}

0 commit comments

Comments
 (0)
0