This commit is contained in:
olebeck 2022-10-30 18:09:55 +01:00
parent ec5716f9ef
commit 91a00b002f
2 changed files with 6 additions and 3 deletions

View File

@ -11,7 +11,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: git fetch --tags && echo $(git tag -l)
- run: |
echo $(git tag -l)
git fetch --force --tags
echo $(git tag -l)
- uses: actions/setup-go@v3
with:
@ -46,7 +49,7 @@ jobs:
id: build
run: |
make -j dists updates
echo "::set-output name=tag::$(git describe --exclude 'r-*' --tags)"
echo "::set-output name=tag::$(git describe --exclude 'r-*' --tags --always)"
- name: Deploy with rsync
run: rsync -avz ./public/ olebeck@${{ secrets.SSH_HOST }}:/var/www/updates/bedrocktool/

View File

@ -1,4 +1,4 @@
TAG = $(shell git describe --exclude "r-*" --tags)
TAG = $(shell git describe --exclude "r-*" --tags --always)
NAME = bedrocktool-${TAG}
SRCS = $(wildcard **/*.go)