build: release 5.0.0-alpha.1 (#7617)
This commit is contained in:
7
.github/workflows/release-manual-docker.yml
vendored
7
.github/workflows/release-manual-docker.yml
vendored
@@ -42,14 +42,11 @@ jobs:
|
||||
uses: docker/metadata-action@v3
|
||||
with:
|
||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
# The following parameter is modified to manually make pre-releases on the `master` branch;
|
||||
# change this accordingly before adding release automation.
|
||||
flavor: |
|
||||
latest=false
|
||||
# The following parameter is modified to manually make pre-releases on the `master` branch;
|
||||
# change this accordingly before adding release automation.
|
||||
latest=${{ steps.branch.outputs.branch_name == 'release' && github.event.inputs.ref == '' }}
|
||||
tags: |
|
||||
type=semver,enable=true,pattern={{version}},value=${{ github.event.inputs.ref }}
|
||||
type=raw,enable=${{ github.event.inputs.ref == '' }},value=latest
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
|
||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
- run: npm ci
|
||||
- run: npm publish
|
||||
- run: npm publish --tag alpha
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||
publish-docs:
|
||||
|
||||
Reference in New Issue
Block a user