File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,10 @@ jobs:
298298 run : |
299299 sha256sum linux/svtminion.sh | awk '{ print $1 }' > svtminion.sh.sha256
300300 sha256sum windows/svtminion.ps1 | awk '{ print $1 }' > svtminion.ps1.sha256
301- git commit -a -m "Update sha256 checksums" || git commit -a -m "Update sha256 checksums"
301+ ls -alh
302+ git add svtminion.sh.sha256
303+ git add svtminion.ps1.sha256
304+ git commit -am "Update sha256 checksums" || git commit -am "Update sha256 checksums"
302305
303306 - name : Push Changes
304307 uses : ad-m/github-push-action@b87afee92c6e70ea888be6203a3e9426fda49839
Original file line number Diff line number Diff line change @@ -25,13 +25,13 @@ def main(version, sha256sum):
2525 if not line .startswith ("-" ):
2626 out_contents += line
2727 continue
28- out_contents += "- {}: ``{}`` \n " . format ( version , sha256sum )
28+ out_contents += f "- { version } : `{ sha256sum } ` \n "
2929 out_contents += line
3030 updated_version = True
3131 continue
3232
3333 out_contents += line
34- if line .startswith ("## _sha256sums" ):
34+ if line .startswith ("## _sha256sums: " ):
3535 found_anchor = True
3636 if in_contents != out_contents :
3737 README_PATH .write_text (out_contents )
Original file line number Diff line number Diff line change @@ -17,10 +17,11 @@ commonly referred to as guestVars.
1717In every two-step installation example, you would be well-served to ** verify against the SHA256
1818sum** of the downloaded ` svtminion.sh ` file.
1919
20- ## _ sha256sums
20+ ## _ sha256sums:
2121
2222The SHA256 sum of the ` svtminion.sh ` file, per release, is:
2323
24+ - 2024.12.04: ` e7f4d7b242bd495c63e7b3240631411fbe65ac966ff2c1ef93399ceda9b5719f `
2425
2526If you're looking for a * one-liner* to install Salt Minion, please read below.
2627
@@ -98,7 +99,6 @@ script action cannot be obtained from `tools.conf`.
9899
99100Any input passed to the script on the command line will take precedence over:
100101
101- - 2024.12.04: `` e7f4d7b242bd495c63e7b3240631411fbe65ac966ff2c1ef93399ceda9b5719f ``
102102- The action and config options set in guestVars
103103- Anything configured in ` tools.conf ` with the same name.
104104
You can’t perform that action at this time.
0 commit comments