We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f632c2c commit e80bde9Copy full SHA for e80bde9
1 file changed
.github/workflows/version-check.yml
@@ -21,10 +21,18 @@ jobs:
21
steps:
22
- name: Checkout repository
23
uses: actions/checkout@v5
24
+ with:
25
+ fetch-tags: true
26
+ fetch-depth: 0
27
28
- name: Get current version
29
id: get_current_version
- run: echo "current_version=$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT
30
+ run: |
31
+ set -e
32
+ echo "Getting version from git repo"
33
+ CURRENT_VERSION=$(git describe --tags --abbrev=0)
34
+ echo "Current version: $CURRENT_VERSION" >> $GITHUB_STEP_SUMMARY
35
+ echo "current_version=$CURRENT_VERSION" >> $GITHUB_OUTPUT
36
37
- name: Get remote version
38
id: get_remote_version
0 commit comments