From f75f8c37ea27ca2fdb42f81d8bea41d5c7395acb Mon Sep 17 00:00:00 2001 From: Christopher Lowenthal Date: Tue, 1 Nov 2022 11:29:56 -0400 Subject: [PATCH] updates version job to be meta, including tags and flags, etc. --- .github/workflows/release.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6e3878985..af871326b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,10 +7,11 @@ on: workflow_dispatch: jobs: - version: + meta: runs-on: ubuntu-latest outputs: version: ${{ steps.version.outputs.version }} + tag: ${{ steps.tag.outputs.tag }} steps: - uses: actions/checkout@v3 with: @@ -19,15 +20,17 @@ jobs: # - run: .github/workflows/version.sh - id: version run: echo "version=$(.github/workflows/version.sh)" >> $GITHUB_OUTPUT + - id: tag + run: echo "tag=v${{ steps.version.outputs.version}}-community" >> $GITHUB_OUTPUT build-lattice: runs-on: ubuntu-latest - needs: [version] + needs: [meta] env: CI: false steps: - - run: echo ${{needs.version.outputs.version}} + - run: echo ${{needs.meta.outputs.version}} ${{needs.meta.outputs.tag}} - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: @@ -50,7 +53,7 @@ jobs: build-featurebase: runs-on: ubuntu-latest - needs: [version] + needs: [meta] strategy: matrix: @@ -89,7 +92,7 @@ jobs: build-ingest: runs-on: ubuntu-latest - needs: [version] + needs: [meta] strategy: matrix: