File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
clients/algoliasearch-client-scala/.github/workflows Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 13
13
steps :
14
14
- name : Checkout
15
15
uses : actions/checkout@v4
16
+ with :
17
+ fetch-tags : true
18
+
19
+ - name : checkout the release tag
20
+ run : |
21
+ TAG=$(sed -n 's/.*version := "\(.*\)"/\1/p' version.sbt)
22
+ echo "Checking out tag $TAG"
23
+ git checkout "v$TAG"
16
24
17
25
- name : Install Java
18
26
uses : actions/setup-java@v4
26
34
27
35
- run : sbt ci-release
28
36
env :
29
- PGP_PASSPHRASE : ${{ secrets.SIGNING_PRIVATE_KEY_PASSWORD }}
30
- PGP_SECRET : ${{ secrets.SIGNING_PRIVATE_KEY }}
37
+ PGP_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
38
+ PGP_SECRET : ${{ secrets.PGP_SECRET }}
31
39
SONATYPE_USERNAME : ${{ secrets.MAVEN_CENTRAL_USERNAME }}
32
40
SONATYPE_PASSWORD : ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ async function spreadGeneration(): Promise<void> {
99
99
// ruby tag is already pushed by `rake release`
100
100
if ( IS_RELEASE_COMMIT && lang !== 'ruby' ) {
101
101
// Go needs a 'v' prefix for tags.
102
- const tagVersion = lang === 'go' ? `v${ version } ` : version ;
102
+ const tagVersion = lang === 'go' || lang === 'scala' ? `v${ version } ` : version ;
103
103
104
104
console . log ( `Processing release commit, creating new release tag ('${ version } ') for '${ lang } ' repository.` ) ;
105
105
You can’t perform that action at this time.
0 commit comments