diff --git a/.github/workflows/handle-release-branch-push.yml b/.github/workflows/handle-release-branch-push.yml index a140dfdc..5527ea3e 100644 --- a/.github/workflows/handle-release-branch-push.yml +++ b/.github/workflows/handle-release-branch-push.yml @@ -38,7 +38,7 @@ jobs: run: npm run ${{ matrix.script.command }} publish: - name: Publish + name: 'Publish: Release' needs: - verify if: contains(fromJson('["refs/heads/alpha", "refs/heads/beta", "refs/heads/main"]'), github.ref) @@ -72,33 +72,33 @@ jobs: run: npm publish ./dist/*.tgz --tag ${{ (github.head_ref || github.ref_name) == 'main' && 'latest' || github.head_ref || github.ref_name }} shell: bash - dev-publish: - name: 'Publish: Dev' - needs: - - verify - if: contains(fromJson('["refs/heads/alpha", "refs/heads/beta", "refs/heads/main"]'), github.ref) == 'false' - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 + # dev-publish: + # name: 'Publish: Dev' + # needs: + # - verify + # if: contains(fromJson('["refs/heads/alpha", "refs/heads/beta", "refs/heads/main"]'), github.ref) == 'false' + # runs-on: ubuntu-latest + # steps: + # - name: Checkout + # uses: actions/checkout@v4 + # with: + # fetch-depth: 0 - - name: Setup project - uses: ./.github/actions/setup + # - name: Setup project + # uses: ./.github/actions/setup - - name: Build project - run: npm run build - shell: bash + # - name: Build project + # run: npm run build + # shell: bash - - name: Get current version - run: echo "PACKAGE_VERSION=$(npm pkg get version | tr -d '"')" >> $GITHUB_ENV + # - name: Get current version + # run: echo "PACKAGE_VERSION=$(npm pkg get version | tr -d '"')" >> $GITHUB_ENV - - name: Setup dev version - run: echo "BRANCH_VERSION=$PACKAGE_VERSION-$BRANCH_NAME.${GITHUB_SHA::7}" >> $GITHUB_ENV + # - name: Setup dev version + # run: echo "BRANCH_VERSION=$PACKAGE_VERSION-$BRANCH_NAME.${GITHUB_SHA::7}" >> $GITHUB_ENV - - name: Bump version - run: npm version $BRANCH_VERSION --no-git-tag-version --force + # - name: Bump version + # run: npm version $BRANCH_VERSION --no-git-tag-version --force - - name: Publish a dev release - run: npm publish --tag dev + # - name: Publish a dev release + # run: npm publish --tag dev