Skip to content

Commit a14df3f

Browse files
Another attempt
1 parent af0095f commit a14df3f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
3636
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
3737
GITHUB_HEAD_REF: ${{ github.head_ref }}
38-
GITHUB_HEAD_SHA: ${{ github.event.pull_request.head.ref }}
38+
GITHUB_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
3939

4040
- name: Read sanitized version
4141
id: read_sanitized_version

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ nexusPublishing {
217217
// <major>.<minor>.<patch>-dev.#+<branchname>.<hash> (local branch)
218218
// <major>.<minor>.<patch>-dev.#+<hash> (github pull request)
219219
// to:
220-
// <major>.<minor>.<patch>-dev+<branchname>-SNAPSHOT
220+
// <major>.<minor>.<patch>-dev+<hash>-SNAPSHOT
221221
fun Project.sanitizeVersion(): String {
222222
val version = version.toString()
223223
return if (project.isSnapshotVersion()) {

0 commit comments

Comments
 (0)