Skip to content

Commit

Permalink
Merge develop into stable for v2024.07.12 release
Browse files Browse the repository at this point in the history
  • Loading branch information
saltbot-open committed Jul 12, 2024
2 parents cbcbd3c + aae98db commit 67e0c05
Show file tree
Hide file tree
Showing 25 changed files with 1,281 additions and 3,726 deletions.
250 changes: 86 additions & 164 deletions .github/workflows/ci.yml

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions .github/workflows/scripts/cut-release.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ def main():
+ changelog_file.read_text()
)

# Update Script Version for the bash script
bootstrap_script_path = REPO_ROOT / "bootstrap-salt.sh"
print(
f"* Updating {bootstrap_script_path.relative_to(REPO_ROOT)} ...",
Expand All @@ -201,6 +202,22 @@ def main():
bootstrap_script_path.read_text(),
)
)

# Update the Script Version for the powershell script
bootstrap_script_path = REPO_ROOT / "bootstrap-salt.ps1"
print(
f"* Updating {bootstrap_script_path.relative_to(REPO_ROOT)} ...",
file=sys.stderr,
flush=True,
)
bootstrap_script_path.write_text(
re.sub(
r'\$__ScriptVersion = "(.*)"',
f'$__ScriptVersion = "{options.release_tag.lstrip("v")}"',
bootstrap_script_path.read_text(),
)
)

parser.exit(status=0, message="CHANGELOG.md and bootstrap-salt.sh updated\n")


Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/templates/ci-tail.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

- name: Download Exit Status Files
if: always()
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: exitstatus
path: exitstatus
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/templates/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Upload Exit Status
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: exitstatus
path: exitstatus
Expand All @@ -61,10 +61,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: "3.10"

- name: Install Pre-Commit
run: |
Expand All @@ -84,7 +84,7 @@ jobs:
- name: Upload Exit Status
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: exitstatus
path: exitstatus
Expand All @@ -93,7 +93,7 @@ jobs:
name: Lint
runs-on: ubuntu-latest
needs: collect-changed-files
container: koalaman/shellcheck-alpine:v0.7.0
container: koalaman/shellcheck-alpine:latest
if: github.event_name == 'push' || needs.collect-changed-files.outputs.run-tests == 'true'
steps:
- uses: actions/checkout@v4
Expand All @@ -109,7 +109,7 @@ jobs:
- name: Upload Exit Status
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: exitstatus
path: exitstatus
Loading

0 comments on commit 67e0c05

Please sign in to comment.