We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 392020a commit 151eb42Copy full SHA for 151eb42
.github/workflows/python-publish.yml
@@ -41,7 +41,15 @@ jobs:
41
42
- name: Set __version__
43
shell: bash
44
- run: sed -i "s/PLACEHOLDER/${VERSION}/g" "fortls/_version.py"
+ run: sed -i "s/\".*\"/\"${VERSION}\"/g" "fortls/_version.py"
45
+
46
+ - name: Commit the new version
47
+ shell: bash
48
+ run: |
49
+ git config --global user.name 'gnikit'
50
+ git config --global user.email '[email protected]'
51
+ git commit fortls/_version.py -am "Auto-Update version"
52
+ git push
53
54
- name: Build package
55
run: python -m build
0 commit comments