From 7888f528273afe506e6797141818ffb5a7619336 Mon Sep 17 00:00:00 2001 From: Hanbyul Jo Date: Mon, 9 Dec 2024 13:29:52 -0500 Subject: [PATCH] Add instance build job --- .github/workflows/release.yml | 10 +++++++++- .release-it.json | 4 +++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 00c5e58f3..054e7e35d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,4 +29,12 @@ jobs: - run: yarn - run: yarn release --ci --verbose env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + preview-build: + runs-on: ubuntu-latest + needs: "release" + steps: + - name: Call Instance Build + uses: nasa-impact/veda-config/.github/preview-build/preview-build.yml@1242-preview-build-action + with: + ui-version: "${{ env.VERSION_NUMBER }}" \ No newline at end of file diff --git a/.release-it.json b/.release-it.json index c34ee090c..b35a5c711 100644 --- a/.release-it.json +++ b/.release-it.json @@ -1,5 +1,7 @@ { - "hooks": {}, + "hooks": { + "after:release": "echo \"VERSION_NUMBER=v${version}\" >> \"$GITHUB_ENV\" " + }, "plugins": { "@release-it/conventional-changelog": { "preset": {