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

Commit

Permalink
Merge pull request #3 from cloudfoundry-incubator/alpha-releases-pipe…
Browse files Browse the repository at this point in the history
…line

Alpha releases pipeline
  • Loading branch information
Irfan Habib committed Mar 27, 2018
2 parents e7fba2b + 3d19900 commit e4b259a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deploy/ci/tasks/dev-releases/generate-tag-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ run:
- -exc
- |
cd stratos
LATEST_ALPHA_TAG=$(git for-each-ref --sort=taggerdate --format '%(tag)' refs/tags | grep alpha | tail -1)
LATEST_ALPHA_TAG=$(git for-each-ref --sort=taggerdate --format %\(tag\) refs/tags | grep alpha | tail -1)
ALPHA_RELEASE_NUMBER=$(echo $LATEST_ALPHA_TAG | grep -o '...$')
let ALPHA_RELEASE_NUMBER++
if [ -n $ALPHA_RELEASE_NUMBER ]; then
ALPHA_RELEASE_NUMBER='000'
fi
echo $ALPHA_RELEASE_NUMBER > image-tag/v2-alpha-tag

0 comments on commit e4b259a

Please sign in to comment.