Skip to content
This repository has been archived by the owner on Jan 29, 2019. It is now read-only.

Commit

Permalink
Disable changelog info for now
Browse files Browse the repository at this point in the history
  • Loading branch information
ceason committed Nov 12, 2018
1 parent 7da3e62 commit d5beeef
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions terraform/experimental/publisher.sh.tpl
Expand Up @@ -120,21 +120,16 @@ release_message=$(mktemp)
trap "rm -rf $release_message" EXIT

# find the published tag previous to our new tag
current_tags=($(
parse_semver $VERSION
(git tag|grep -E "^[v]?[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+$"
echo "$tag"
)\
|sort --version-sort --reverse))

current_published_tag=""
if [ "${#current_tags[@]}" -gt 1 ]; then
current_published_tag=$(
printf "%s\n" "${current_tags[@]}"\
|grep -FA1 "$tag"\
|grep -vF "$tag"
)
fi
#current_published_tag=$(
# parse_semver $VERSION
# (git tag|grep -E "^[v]?[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+$"
# echo "$tag"
# )\
# |sort --version-sort --reverse\
# |grep -FA1 "$tag"\
# |grep -vF "$tag"
#)

repo_url=$("$hub" browse -u)
echo "$tag" > "$release_message"
Expand Down

0 comments on commit d5beeef

Please sign in to comment.