Skip to content

Commit

Permalink
Merge pull request #194 from yaswanth-deriv/fix-version-issue
Browse files Browse the repository at this point in the history
[FEQ]Yaswanth/Fix version issue
  • Loading branch information
ali-hosseini-deriv authored Jan 11, 2024
2 parents 37b1359 + 81f8398 commit d652d01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/actions/versioning/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ runs:
- name: Set Version
id: set_version
run: |
echo "version=${GITHUB_REF#refs/heads/} $(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_OUTPUT
echo "version=${GITHUB_REF#refs/heads/} $(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> "$GITHUB_OUTPUT"
shell: bash
6 changes: 2 additions & 4 deletions .github/workflows/release-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Build, Test and Publish to Production
runs-on: ubuntu-latest
outputs:
RELEASE_VERSION: ${{ steps.extract_version.outputs.RELEASE_VERSION }}
RELEASE_VERSION: ${{ steps.extract_version.outputs.version }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -22,12 +22,10 @@ jobs:
- name: invalidate master cache
uses: ./.github/actions/invalidate_master_cache
- name: Versioning
id: extract_version
uses: ./.github/actions/versioning
with:
release_type: production
- name: Extract version
id: extract_version
run: echo "RELEASE_VERSION=${version}" >> $GITHUB_OUTPUT
- name: Publish to Cloudflare Pages Production
uses: "./.github/actions/publish_to_pages_production"
with:
Expand Down

0 comments on commit d652d01

Please sign in to comment.