mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 05:36:05 +00:00
chore(ci): update
This commit is contained in:
parent
6d22acb133
commit
91b1c773a8
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -152,7 +152,7 @@ jobs:
|
|||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: ./docker/nocobase
|
context: ./docker/nocobase
|
||||||
file: Dockerfile
|
file: ./docker/nocobase/Dockerfile
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: nocobase/nocobase:main,nocobase/nocobase:latest,${{ steps.meta.outputs.tags }},${{ secrets.ALI_DOCKER_PUBLIC_REGISTRY }}/nocobase/nocobase:main,${{ secrets.ALI_DOCKER_PUBLIC_REGISTRY }}/nocobase/nocobase:latest,${{ secrets.ALI_DOCKER_PUBLIC_REGISTRY }}/${{ steps.meta.outputs.tags }}
|
tags: nocobase/nocobase:main,nocobase/nocobase:latest,${{ steps.meta.outputs.tags }},${{ secrets.ALI_DOCKER_PUBLIC_REGISTRY }}/nocobase/nocobase:main,${{ secrets.ALI_DOCKER_PUBLIC_REGISTRY }}/nocobase/nocobase:latest,${{ secrets.ALI_DOCKER_PUBLIC_REGISTRY }}/${{ steps.meta.outputs.tags }}
|
||||||
@ -161,7 +161,7 @@ jobs:
|
|||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: ./docker/nocobase
|
context: ./docker/nocobase
|
||||||
file: Dockerfile.next
|
file: ./docker/nocobase/Dockerfile.next
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: nocobase/nocobase:next,${{ steps.meta.outputs.tags }},${{ secrets.ALI_DOCKER_PUBLIC_REGISTRY }}/nocobase/nocobase:next,${{ secrets.ALI_DOCKER_PUBLIC_REGISTRY }}/${{ steps.meta.outputs.tags }}
|
tags: nocobase/nocobase:next,${{ steps.meta.outputs.tags }},${{ secrets.ALI_DOCKER_PUBLIC_REGISTRY }}/nocobase/nocobase:next,${{ secrets.ALI_DOCKER_PUBLIC_REGISTRY }}/${{ steps.meta.outputs.tags }}
|
||||||
|
@ -3,8 +3,7 @@ IFS='.-' read -r major minor patch label pre <<< "$current_version"
|
|||||||
|
|
||||||
if [ "$label" == 'beta' ]; then
|
if [ "$label" == 'beta' ]; then
|
||||||
if [ "$1" == '--is-feat' ]; then
|
if [ "$1" == '--is-feat' ]; then
|
||||||
new_minor=$((minor + 1))
|
new_version="$major.$minor.0-beta"
|
||||||
new_version="$major.$new_minor.0-beta"
|
|
||||||
echo $new_version;
|
echo $new_version;
|
||||||
else
|
else
|
||||||
new_patch=$((patch + 1))
|
new_patch=$((patch + 1))
|
||||||
|
Loading…
Reference in New Issue
Block a user