fix: release
This commit is contained in:
parent
c16348dc75
commit
13ce62aa7f
2 changed files with 5 additions and 10 deletions
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
|
|
@ -1,12 +1,11 @@
|
|||
# Create a GitHub upstream release. Replace "TARNAME" with your project tarball
|
||||
# name and enable this by dropping the ".disabled" suffix from the file name.
|
||||
# Create a GitHub upstream release
|
||||
# See README.md.
|
||||
name: release
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
# this is a glob, not a regexp
|
||||
- "[0-9]*"
|
||||
- '[0-9]*'
|
||||
jobs:
|
||||
source:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
@ -24,9 +23,6 @@ jobs:
|
|||
|
||||
# https://github.blog/2022-04-12-git-security-vulnerability-announced/
|
||||
- name: Pacify git's permission check
|
||||
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
|
||||
|
|
@ -38,4 +34,4 @@ jobs:
|
|||
- name: Publish GitHub release
|
||||
uses: cockpit-project/action-release@88d994da62d1451c7073e26748c18413fcdf46e9
|
||||
with:
|
||||
filename: "cockpit-sensors-${{ github.ref_name }}.tar.xz"
|
||||
filename: "cockpit-sensors-${{ github.ref_name }}.tar.xz"
|
||||
|
|
@ -2,10 +2,9 @@
|
|||
"requires": {
|
||||
"cockpit": "137"
|
||||
},
|
||||
|
||||
"tools": {
|
||||
"index": {
|
||||
"label": "Starter Kit"
|
||||
"label": "Sensors"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue