We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cddcbdd commit 92b9c7aCopy full SHA for 92b9c7a
.github/workflows/release.yml
@@ -88,12 +88,14 @@ jobs:
88
- name: Update spmgraph dependency version in Package.txt
89
run: |
90
file="$GITHUB_WORKSPACE/Sources/SPMGraphConfigSetup/Resources/Package.txt"
91
- new_version="${{ inputs.new_version }}" # Or use ${{ env.NEW_VERSION }} if you set it as an env variable
92
-
+
93
# Replace the version of spmgraph in the spmgraph config package template
94
python3 - <<'PY'
95
import os, re, sys
96
+ file="$GITHUB_WORKSPACE/Sources/SPMGraphConfigSetup/Resources/Package.txt"
97
+ new_version="${{ inputs.new_version }}" # Or use ${{ env.NEW_VERSION }} if you set it as an env variable
98
99
text = open(file, "r", encoding="utf-8").read()
100
101
pattern = re.compile(
0 commit comments