Skip to content

Commit fe98e10

Browse files
authored
Fetch tags from action checkout (#6755)
1 parent 25e18d3 commit fe98e10

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/rill-cloud.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
steps:
2525
- name: Checkout code
2626
uses: actions/checkout@v4
27+
with:
28+
fetch-tags: true
2729

2830
- name: Set up Go
2931
uses: actions/setup-go@v4
@@ -40,9 +42,6 @@ jobs:
4042

4143
- name: Build & Publish Rill docker image
4244
run: |-
43-
echo "Fetch tags to get the last tagged version"
44-
git fetch --all --tags;
45-
4645
if [ "$RELEASE" == "true" ] || [ "$GITHUB_REF_NAME" == "main" ]; then
4746
echo "DEPLOY_CLOUD=1" >> $GITHUB_ENV
4847
else

0 commit comments

Comments
 (0)