Skip to content

Commit

Permalink
Merge pull request #153 from PlexTrac/sp-logic-for-2.10-additions
Browse files Browse the repository at this point in the history
sp\logic for 2.10 Contiguous Updates
  • Loading branch information
StevenPaugh authored Oct 11, 2024
2 parents f5bb9ac + be1756f commit 998a090
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.7.7
current_version = 0.7.8

commit = True
tag = True
Expand Down
8 changes: 8 additions & 0 deletions src/_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ function mod_update() {
if [ "${LOCK_UPDATES:-false}" == "true" ]; then
die "Updates are locked due to a failed data migration. Continuing to attempt to update may result in data loss!!! Please contact PlexTrac Support"
fi

if [ "${UPGRADE_STRATEGY}" == "stable" ] && [ -z "${PLEXTRAC_MANAGED:-}" ]; then
sed -i 's/UPGRADE_STRATEGY=stable/UPGRADE_STRATEGY=2.10/g' .env
info "Set Upgrade Startegy to 2.10 for stable release cycle. Please do not remove this version pin unless instructed to do so by PlexTrac Support."
else
info "Cloud hosted customer - no modification of UPGRADE_STRATEGY necessary"
fi

title "Updating PlexTrac"
# I'm comparing an int :shrug:
# shellcheck disable=SC2086
Expand Down
2 changes: 1 addition & 1 deletion src/plextrac
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -Eeuo pipefail

VERSION=0.7.7
VERSION=0.7.8

## Podman Global Declaration Variable
declare -A svcValues
Expand Down

0 comments on commit 998a090

Please sign in to comment.