diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e4176d7..dfa88fc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -298,7 +298,10 @@ jobs: run: | sha256sum linux/svtminion.sh | awk '{ print $1 }' > svtminion.sh.sha256 sha256sum windows/svtminion.ps1 | awk '{ print $1 }' > svtminion.ps1.sha256 - git commit -a -m "Update sha256 checksums" || git commit -a -m "Update sha256 checksums" + ls -alh + git add svtminion.sh.sha256 + git add svtminion.ps1.sha256 + git commit -am "Update sha256 checksums" || git commit -am "Update sha256 checksums" - name: Push Changes uses: ad-m/github-push-action@b87afee92c6e70ea888be6203a3e9426fda49839 diff --git a/.github/workflows/scripts/update-release-shasum.py b/.github/workflows/scripts/update-release-shasum.py index 6ea6001..47c01de 100644 --- a/.github/workflows/scripts/update-release-shasum.py +++ b/.github/workflows/scripts/update-release-shasum.py @@ -25,13 +25,13 @@ def main(version, sha256sum): if not line.startswith("-"): out_contents += line continue - out_contents += "- {}: ``{}``\n".format(version, sha256sum) + out_contents += f"- {version}: `{sha256sum}`\n" out_contents += line updated_version = True continue out_contents += line - if line.startswith("## _sha256sums"): + if line.startswith("## _sha256sums:"): found_anchor = True if in_contents != out_contents: README_PATH.write_text(out_contents) diff --git a/README.md b/README.md index 35fb00c..5c6af3e 100644 --- a/README.md +++ b/README.md @@ -17,10 +17,11 @@ commonly referred to as guestVars. In every two-step installation example, you would be well-served to **verify against the SHA256 sum** of the downloaded `svtminion.sh` file. -## _sha256sums +## _sha256sums: The SHA256 sum of the `svtminion.sh` file, per release, is: +- 2024.12.04: `e7f4d7b242bd495c63e7b3240631411fbe65ac966ff2c1ef93399ceda9b5719f` If you're looking for a *one-liner* to install Salt Minion, please read below. @@ -98,7 +99,6 @@ script action cannot be obtained from `tools.conf`. Any input passed to the script on the command line will take precedence over: -- 2024.12.04: ``e7f4d7b242bd495c63e7b3240631411fbe65ac966ff2c1ef93399ceda9b5719f`` - The action and config options set in guestVars - Anything configured in `tools.conf` with the same name.