Skip to content

Commit a3ab32d

Browse files
algolia-botmillotpshortcuts
committed
fix(scala): prefix tags with v (generated)
algolia/api-clients-automation#5186 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]> Co-authored-by: shortcuts <[email protected]>
1 parent 3c4303c commit a3ab32d

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ jobs:
1313
steps:
1414
- name: Checkout
1515
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"
1624
1725
- name: Install Java
1826
uses: actions/setup-java@v4
@@ -26,7 +34,7 @@ jobs:
2634

2735
- run: sbt ci-release
2836
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 }}
3139
SONATYPE_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
3240
SONATYPE_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}

src/main/scala/algoliasearch/extension/package.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,8 @@ package object extension {
419419
* settings, synonyms and query rules and indexes all passed objects. Finally, the temporary one replaces the
420420
* existing index.
421421
*
422-
* See https://api-clients-automation.netlify.app/docs/add-new-api-client#5-helpers for implementation details.
422+
* See https://api-clients-automation.netlify.app/docs/custom-helpers/#replaceallobjects for implementation
423+
* details.
423424
*
424425
* @param indexName
425426
* The index in which to perform the request.

0 commit comments

Comments
 (0)