Setup self version check #13
Merged
Stapel Dev opened 4 months ago

[v0.1.4-4]

Added

  • setup.sh: SETUP_SH_VERSION constant — bumped on every breaking change to the installer.
  • setup.sh: Self-version check after fetch — if the upstream setup.sh version differs from the running copy, the script exits with a clear error and a curl command to replace it before re-running. Prevents silent failures when upgrading with a stale installer.

Fixed

  • setup.sh (minimal update mode): scripts/resources/ is now synced alongside init_ansible_project.sh during non-git-repo upgrades. Previously only the script itself was updated, causing check_deps() to fail immediately after upgrade due to missing resource files.
Commits were merged into target branch
1/1
Submitter Stapel Dev
Target main
Source setup/self-version-check
Assignees
Merge Strategy
Create Merge Commit
Watchers (1)
Reference
pull request ANIT-13
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover