Skip to content

Commit 308ae49

Browse files
committed
chore: fix issue in run pub action
1 parent 86cd631 commit 308ae49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/run_pub.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Check Versions 🔎
2323
run: |
2424
set -eo pipefail
25-
export LIB_VERSION=$(git describe --tags `git rev-list --tags --max-count=1`)
25+
export LIB_VERSION=$(git describe --tags `git rev-list --tags --max-count=1 HEAD`)
2626
echo "LIB_VERSION: ${LIB_VERSION}"
2727
export PUBSPEC_VERSION=$(grep 'version: ' pubspec.yaml | sed -e 's,.*: \(.*\),\1,')
2828
echo "PUBSPEC_VERSION: ${PUBSPEC_VERSION}"

0 commit comments

Comments
 (0)