1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-21 07:29:37 +01:00

chore: prepare 5.x

This commit is contained in:
Juan Picado 2021-04-09 18:38:26 +02:00
parent 73585f0262
commit e56fd19968
2 changed files with 2 additions and 2 deletions

@ -36,7 +36,7 @@ jobs:
with: with:
images: ${{ github.repository }} images: ${{ github.repository }}
tag-custom: 5.x-next tag-custom: 5.x-next
tag-custom-only: ${{ github.ref == 'refs/heads/master' }} tag-custom-only: ${{ github.ref == 'refs/heads/5.x' }}
tag-semver: | tag-semver: |
{{version}} {{version}}
{{major}} {{major}}

@ -4,7 +4,6 @@ on:
push: push:
tags: tags:
- '*' - '*'
jobs: jobs:
release: release:
name: Release name: Release
@ -23,6 +22,7 @@ jobs:
run: yarn lint run: yarn lint
- name: Publish - name: Publish
run: sh scripts/publish.sh run: sh scripts/publish.sh
if: ${{ github.ref == 'refs/heads/5.x' }}
env: env:
REGISTRY_AUTH_TOKEN: ${{ secrets.REGISTRY_AUTH_TOKEN }} REGISTRY_AUTH_TOKEN: ${{ secrets.REGISTRY_AUTH_TOKEN }}
REGISTRY_URL: registry.npmjs.org REGISTRY_URL: registry.npmjs.org