Skip to content

Commit

Permalink
Fix versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
tayden committed Jan 30, 2025
1 parent 0a9dd8c commit ad32143
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_conda-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

- name: Update version
if: github.ref_type == 'tag'
run: sed -i "s/0.0.0/${{ env.tag }}/g" kelp_o_matic/__init__.py
run: sed -i "s/0.0.0/${{ env.tag }}/g" kelp_o_matic/__init__.py conda/recipe.yaml

- name: Build package
uses: prefix-dev/[email protected]
Expand Down
3 changes: 1 addition & 2 deletions conda/recipe.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
schema_version: 1

context:
git_tag: ${{ env.get('GIT_DESCRIBE_TAG', default="v0.0.0") }}
version: ${{ git_tag[1:] }}
version: 0.0.0

package:
name: kelp-o-matic
Expand Down

0 comments on commit ad32143

Please sign in to comment.