Skip to content

Commit

Permalink
maybe i cna badge by installing from github directly (#99)
Browse files Browse the repository at this point in the history
* remove badge because it's causing too much work to maintain

* Update .gitattributes

* Revert "remove badge because it's causing too much work to maintain"

This reverts commit 17f19cb.

* how about this
  • Loading branch information
zktuong authored Jan 8, 2025
1 parent 06a886f commit 7cc71bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
# Auto detect text files and perform LF normalization
*text = auto
# SCM syntax highlighting
pixi.lock linguist-language=YAML linguist-generated=true
7 changes: 5 additions & 2 deletions .github/workflows/badge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,13 @@ jobs:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
- name: Install package
run: |
pip install git+https://github.com/zktuong/ktplotspy.git
- id: version
name: Use git to get version
name: Get version
run: |
echo "version=$(git describe --dirty --tags --long)" >> $GITHUB_OUTPUT
echo "version=$(python -m pip show ktplotspy | grep Version | awk '{print $2}')" >> $GITHUB_OUTPUT
- name: version badge
uses: RubbaBoy/[email protected]
with:
Expand Down

0 comments on commit 7cc71bc

Please sign in to comment.