Skip to content

Commit

Permalink
manually define version for now
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-vakil committed Jul 15, 2024
1 parent d1a522c commit 34342fb
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/workflow_build_and_release_containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,18 @@ jobs:
outputs:
version: ${{ steps.date-version.outputs.version }}
steps:
- name: Generate Date Version
id: date-version
uses: StackEng/CoreEngineering.CITools/actions/date_version@v1
# manually generate version until permissions are sorted
# - name: Generate Date Version
# id: date-version
# uses: StackEng/CoreEngineering.CITools/actions/date_version@v1
- name: Set Version
if: ${{ github.ref_name == 'main' }}
run: |
# Year.Month.Day.HourMinSec (no zero padding in each segment)
VERSION="$(date -u +'%Y.%-m.%-d.%-H%M%S')"
echo "version=$version" >> $env:GITHUB_OUTPUT
echo "generated version: $version"
build_docker:
needs: [generate_date_version]
Expand Down

0 comments on commit 34342fb

Please sign in to comment.