Skip to content

Commit d833c16

Browse files
committed
Change __version__ before building bundles
1 parent 83d16ac commit d833c16

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ jobs:
4343
- name: Install deps
4444
run: |
4545
source actions-ci/install.sh
46+
- name: Populate __version__
47+
run: |
48+
for file in $(find -not -path "./.*" -not -path "./docs*" -name "*.py" ); do
49+
sed -i -e "s/0.0.0-auto.0/${{github.event.release.tag_name}}/" $file;
50+
done;
4651
- name: Build assets
4752
run: circuitpython-build-bundles --filename_prefix ${{ steps.repo-name.outputs.repo-name }} --library_location .
4853
- name: Upload Release Assets

0 commit comments

Comments
 (0)