Skip to content

Commit

Permalink
Add date tag to R-devel images
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Aug 7, 2024
1 parent 48634b6 commit 11a2db9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/calculate_tags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ else
fi

# Potential tags:
# - yyyy-mm-dd
# - devel, x.y.z-devel x.y-devel
# current `trunk` in the R repo
# - alpha, x.y.z-alpha, x.y-alpha
Expand All @@ -34,6 +35,7 @@ fi
# This is how we assign tags for the various versions:
#
# ## devel
# - yyyy-mm-dd
# - devel
# - x.y.z-devel
# - x.y.z
Expand Down Expand Up @@ -111,7 +113,7 @@ function calculate_raw() {

tags=""
if [[ "${r_version}" = "devel" ]]; then
tags="devel ${r_version_number} ${r_minor} ${r_version_number}-devel ${r_minor}-devel"
tags="devel ${r_version_number} ${r_minor} ${r_version_number}-devel ${r_minor}-devel `date -I`"

elif [[ "${r_version}" = "next" ]]; then
tags="next ${r_version_number} ${r_minor}"
Expand Down

0 comments on commit 11a2db9

Please sign in to comment.