Skip to content

Commit dbcdfe8

Browse files
chore: fix
1 parent 9041d58 commit dbcdfe8

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/drop-from-staging.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: Drop Sonatype Staging Repository
22

33
on:
4-
workflow_dispatch:
5-
4+
push:
5+
branches:
6+
- "mdwairi/configure-publish-tasks"
67

78
jobs:
89
drop-staging-repo:
@@ -16,7 +17,7 @@ jobs:
1617
-d '{
1718
"data": {
1819
"stagedRepositoryIds": [
19-
"comexpediagroup-1671"
20+
"comexpediagroup-1672"
2021
],
2122
"description": "Dropping this staging repository via REST API."
2223
}

.github/workflows/test-workflow.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: Test Sonatype
22

33
on:
4-
push:
5-
branches:
6-
- "mdwairi/configure-publish-tasks"
4+
workflow_dispatch:
5+
76

87
permissions:
98
contents: write
@@ -27,5 +26,5 @@ jobs:
2726
GPG_SECRET: ${{ secrets.GPG_PRIVATE_KEY }}
2827
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
2928
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
30-
run: ./gradlew :expediagroup-sdk-core:publishToSonatype closeAndReleaseSonatypeStagingRepository
29+
run: ./gradlew :expediagroup-sdk-core:publishToSonatype closeAndReleaseSonatypeStagingRepository -Pversion="0.0.1"
3130

0 commit comments

Comments
 (0)