Skip to content

Commit d53ee76

Browse files
committed
fix(scripts): checkout tag on release
1 parent e6f4c4f commit d53ee76

File tree

8 files changed

+9
-11
lines changed

8 files changed

+9
-11
lines changed

.github/workflows/push-to-repository.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ on:
99
type: choice
1010
options:
1111
- AlgoliaWeb
12-
- doc
12+
- mcp-node
13+
- docs-new
14+
- n8n-nodes-algolia
1315

1416
jobs:
1517
push:
-1.65 KB
Binary file not shown.

clients/algoliasearch-client-java/gradlew

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
#
4-
# Copyright © 2015 the original authors.
4+
# Copyright © 2015-2021 the original authors.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.

clients/algoliasearch-client-kotlin/.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/setup-java@v5
1919
with:
2020
distribution: temurin
21-
java-version: 11
21+
java-version: 17
2222

2323
- name: Setup Gradle
2424
uses: gradle/actions/[email protected]
-1.65 KB
Binary file not shown.

clients/algoliasearch-client-kotlin/gradlew

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
#
4-
# Copyright © 2015 the original authors.
4+
# Copyright © 2015-2021 the original authors.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.

clients/algoliasearch-client-scala/.github/workflows/release.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- main
7+
tags:
8+
- '*'
79

810
jobs:
911
release:
@@ -16,17 +18,11 @@ jobs:
1618
with:
1719
fetch-tags: true
1820

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"
24-
2521
- name: Install Java
2622
uses: actions/setup-java@v5
2723
with:
2824
distribution: zulu
29-
java-version: 11
25+
java-version: 17
3026
cache: sbt
3127

3228
- name: Compile
-1.65 KB
Binary file not shown.

0 commit comments

Comments
 (0)