fix: enable release actions

This commit is contained in:
Cristopfer Luis Viana da Silva 2024-02-05 11:27:57 -03:00
parent 57ad28ed58
commit 7ec68dbaa1

View file

@ -6,7 +6,7 @@ on:
push: push:
tags: tags:
# this is a glob, not a regexp # this is a glob, not a regexp
- '[0-9]*' - "[0-9]*"
jobs: jobs:
source: source:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -26,6 +26,9 @@ jobs:
- name: Pacify git's permission check - name: Pacify git's permission check
run: git config --global --add safe.directory /__w/ run: git config --global --add safe.directory /__w/
- name: Fix git's permission check
run: git config --global --add safe.directory /__w/cockpit-sensors-2/cockpit-sensors-2
- name: Workaround for https://github.com/actions/checkout/pull/697 - name: Workaround for https://github.com/actions/checkout/pull/697
run: git fetch --force origin $(git describe --tags):refs/tags/$(git describe --tags) run: git fetch --force origin $(git describe --tags):refs/tags/$(git describe --tags)