Skip to content

Commit 701acf0

Browse files
committed
fetch tags during pre-release
1 parent 748b01d commit 701acf0

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.github/workflows/publish.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ jobs:
1212
steps:
1313
- name: Check out code
1414
uses: actions/checkout@v2
15-
with:
16-
fetch-depth: 0
17-
18-
- name: print git tags
19-
run: git tag --list
2015

2116
- name: Please build
2217
run: ./pleasew build //...

scripts/pre-release.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash
22
set -euo pipefail
33

4+
git fetch --tags --force
45
version=$(git describe --always)
56

67
github_api_version="application/vnd.github.v3+json"

0 commit comments

Comments
 (0)