Skip to content

Commit

Permalink
Revert "fix missing version detection as tags are no longer checked out"
Browse files Browse the repository at this point in the history
This reverts commit 83092df.
  • Loading branch information
atoulme committed Dec 21, 2022
1 parent 83092df commit 1f76ab3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions scripts/current-version
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ strip_pkg() {
latest_tag="git describe --abbrev=0 --match v[0-9]*"

tag=$($latest_tag --exact-match 2>/dev/null)
# Clone didn't clone tags
if test -z $tag
then
tag="v5.26.0" # Updated by scripts/update-deployments-version
fi

if test -z $tag || [[ $tag =~ (deb|rpm) ]]
then
Expand Down
1 change: 0 additions & 1 deletion scripts/update-deployments-version
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ files_to_update=(
Dockerfile.rhel
deployments/cloudfoundry/buildpack/bin/supply
deployments/splunk/docker-compose.yml
scripts/current-version
)

new_version=$1
Expand Down

0 comments on commit 1f76ab3

Please sign in to comment.