Skip to content

Commit

Permalink
[force-build] Dummy version for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
tcevaer committed Dec 9, 2024
1 parent 9683fd7 commit d2b2543
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ jobs:
- name: Set version without 'v'
run: |
VERSION=${GITHUB_REF_NAME#v}
if [[ "${GITHUB_REF}" == refs/tags/* ]]; then
VERSION=${GITHUB_REF_NAME#v}
else
VERSION="0.0.0" # Dummy version for testing
fi
echo "VERSION=${VERSION}" >> $GITHUB_ENV
echo "GIT_DESCRIBE_TAG=${VERSION}" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: "grdwindinversion"
version: {{ environ.get('GIT_DESCRIBE_TAG', 0)}}
version: "{{ environ.get('GIT_DESCRIBE_TAG', '0') | string }}"

source:
path: ../.
Expand Down

0 comments on commit d2b2543

Please sign in to comment.