Commit 9fd13e9c authored by mrodzis's avatar mrodzis 🌿
Browse files

Merge branch 'bugfix/preserve-develop-in-artifact' into 'develop'

Bugfix/preserve-develop-in-artifact

See merge request subugoe/emo/Qviewer!35
parents 6674fbe1 2e2b8ed4
Pipeline #146433 passed with stages
in 2 minutes and 46 seconds
......@@ -5,19 +5,29 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.0.1]- 2020-07-30
### Changed
- The content of the development branch is no longer purged from the artifacts, even if the branch hasn't been updated for 14 days.
This way we ensure that <https://subugoe.pages.gwdg.de/emo/Qviewer/develop/#/> always works.
## [1.0.0] - 2020-07-27
### Added
- Preparation for EMo Viewer initial release v1.0.0
## [0.1.0] - 2020-07-24
### Fixed
- bug in navigation: itemindex was updated too late; lacking the corresponding sequenceindex. passed the latter to listener
## [0.0.24] - 2020-07-22
### Added
- license AGPL v3.0
- NOTICE
- license info in softwareinfo
......@@ -91,7 +101,6 @@ We only rely on previous artifacts for new pipelines.
- Reverted the changes and fixed the icons to nest inside image.
## [0.0.14] - 2020-06-23
### Added
......
......@@ -25,8 +25,11 @@ for entry in *
last_modified_in_s=$(date -d $last_modified +%s)
# difference in days
diff=$((($current_date_in_s - $last_modified_in_s) / (24*3600)))
# remove entries that are older than 2 weeks ...
if [[ $diff -gt 14 ]]; then
# preserve content of development branch ...
if [[ ${entry} = "develop" ]]; then
:
# ... remove other entries that are older than 2 weeks ...
elif [[ $diff -gt 14 ]]; then
rm -r $entry
## ... keep the single commit entries ...
#elif [[ ${#entry} == 8 && ${entry} =~ [a-z0-9] ]]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment