Skip to content

Commit

Permalink
Put back Update Version Number in python files
Browse files Browse the repository at this point in the history
  • Loading branch information
damies13 committed Feb 24, 2024
1 parent 86eba69 commit c3ecece
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/Package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,13 @@ jobs:
run: |
echo numver: ${{ env.numver }}
echo version: ${{ env.version }}
#
# - name: Update Version Number in python files
# run: |
# cwd
# echo sed -i -e "s/version = \"[^\"]*\"/version = \"${version}\"/" $(find . -name "*.py")
# sed -i -e "s/version = \"[^\"]*\"/version = \"${version}\"/" $(find . -name "*.py")
# echo sed -i -e "s/# Version .*/# Version ${version}/" $(find . -name "*.py")
# sed -i -e "s/# Version .*/# Version ${version}/" $(find . -name "*.py")
- name: Update Version Number in python files
run: |
cwd
sed -i -e "s/version = \"[^\"]*\"/version = \"${version}\"/" $(find . -name "*.py")
sed -i -e "s/# Version .*/# Version ${version}/" $(find . -name "*.py")
cat setup-manager.py
#

0 comments on commit c3ecece

Please sign in to comment.