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
|
# Create a GitHub upstream release
|
||||||
# name and enable this by dropping the ".disabled" suffix from the file name.
|
|
||||||
# See README.md.
|
# See README.md.
|
||||||
name: release
|
name: release
|
||||||
on:
|
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
|
||||||
|
|
@ -24,9 +23,6 @@ jobs:
|
||||||
|
|
||||||
# https://github.blog/2022-04-12-git-security-vulnerability-announced/
|
# https://github.blog/2022-04-12-git-security-vulnerability-announced/
|
||||||
- name: Pacify git's permission check
|
- 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
|
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
|
||||||
|
|
@ -38,4 +34,4 @@ jobs:
|
||||||
- name: Publish GitHub release
|
- name: Publish GitHub release
|
||||||
uses: cockpit-project/action-release@88d994da62d1451c7073e26748c18413fcdf46e9
|
uses: cockpit-project/action-release@88d994da62d1451c7073e26748c18413fcdf46e9
|
||||||
with:
|
with:
|
||||||
filename: "cockpit-sensors-${{ github.ref_name }}.tar.xz"
|
filename: "cockpit-sensors-${{ github.ref_name }}.tar.xz"
|
||||||
|
|
@ -2,10 +2,9 @@
|
||||||
"requires": {
|
"requires": {
|
||||||
"cockpit": "137"
|
"cockpit": "137"
|
||||||
},
|
},
|
||||||
|
|
||||||
"tools": {
|
"tools": {
|
||||||
"index": {
|
"index": {
|
||||||
"label": "Starter Kit"
|
"label": "Sensors"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue