Skip to content

Commit

Permalink
functions: set flag "REDMINE_WAS_UPDATED" when a redmine-upgrade was …
Browse files Browse the repository at this point in the history
…done

Set the variable REDMINE_WAS_UPDATED=yes when the redmine-version was upgraded.
This flag can be evaluated later, e.g. inside entrypoint.custom.sh
  • Loading branch information
SvenRoederer authored Aug 29, 2024
1 parent e4aff70 commit 4dd94c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/runtime/functions
Original file line number Diff line number Diff line change
Expand Up @@ -1058,6 +1058,7 @@ migrate_database() {

# Now that database has been migrated, update version file
echo ${REDMINE_VERSION} | exec_as_redmine tee --append ${REDMINE_DATA_DIR}/tmp/VERSION >/dev/null
export REDMINE_WAS_UPDATED=yes
fi
}

Expand Down

0 comments on commit 4dd94c1

Please sign in to comment.