Skip to content

Commit

Permalink
Fixed and updated logic for upstream tag (#113)
Browse files Browse the repository at this point in the history
Fixed and updated logic for upstream tag to [[]] instead of []
  • Loading branch information
Michael-Burke authored Feb 26, 2024
1 parent f7d1f87 commit db08548
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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.5.4
current_version = 0.5.5
commit = True
tag = True

Expand Down
2 changes: 1 addition & 1 deletion src/_version_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ function version_check() {
# Set Contiguous updates to false here to ensure that since the app is on latest version, it still attempts to pull patch version updates
contiguous_update=false
fi
if [ "${upstream_tags[@]}" != "" ]; then
if [[ "${upstream_tags[@]}" != "" ]]; then
# Sort the upstream tags weve chosen as the upgrade path
IFS=$'\n' upgrade_path=($(sort -V <<<"${upstream_tags[*]}"))
# Reset IFS to default value
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.5.4
VERSION=0.5.5

trap 'cleanup $?' SIGINT ERR EXIT

Expand Down

0 comments on commit db08548

Please sign in to comment.