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:
298
298
run : |
299
299
sha256sum linux/svtminion.sh | awk '{ print $1 }' > svtminion.sh.sha256
300
300
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"
302
305
303
306
- name : Push Changes
304
307
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):
25
25
if not line .startswith ("-" ):
26
26
out_contents += line
27
27
continue
28
- out_contents += "- {}: ``{}`` \n " . format ( version , sha256sum )
28
+ out_contents += f "- { version } : `{ sha256sum } ` \n "
29
29
out_contents += line
30
30
updated_version = True
31
31
continue
32
32
33
33
out_contents += line
34
- if line .startswith ("## _sha256sums" ):
34
+ if line .startswith ("## _sha256sums: " ):
35
35
found_anchor = True
36
36
if in_contents != out_contents :
37
37
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.
17
17
In every two-step installation example, you would be well-served to ** verify against the SHA256
18
18
sum** of the downloaded ` svtminion.sh ` file.
19
19
20
- ## _ sha256sums
20
+ ## _ sha256sums:
21
21
22
22
The SHA256 sum of the ` svtminion.sh ` file, per release, is:
23
23
24
+ - 2024.12.04: ` e7f4d7b242bd495c63e7b3240631411fbe65ac966ff2c1ef93399ceda9b5719f `
24
25
25
26
If you're looking for a * one-liner* to install Salt Minion, please read below.
26
27
@@ -98,7 +99,6 @@ script action cannot be obtained from `tools.conf`.
98
99
99
100
Any input passed to the script on the command line will take precedence over:
100
101
101
- - 2024.12.04: `` e7f4d7b242bd495c63e7b3240631411fbe65ac966ff2c1ef93399ceda9b5719f ``
102
102
- The action and config options set in guestVars
103
103
- Anything configured in ` tools.conf ` with the same name.
104
104
You can’t perform that action at this time.
0 commit comments