-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ on: | |
|
||
jobs: | ||
release: | ||
name: Release | ||
name: Release the Spook! 👻 | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
|
@@ -25,23 +25,23 @@ jobs: | |
version="${version#v}" | ||
yq e -P -o=json \ | ||
-i ".version = \"${version}\"" \ | ||
"${{ github.workspace }}/custom_components/tarifa_20td/manifest.json" | ||
"${{ github.workspace }}/custom_components/tariff_20td/manifest.json" | ||
yq e -P -o=json \ | ||
-i ".version = \"${version}\"" \ | ||
"${{ github.workspace }}/custom_components/tarifa_20td/integrations/tarifa_20td_inverse/manifest.json" | ||
"${{ github.workspace }}/custom_components/tariff_20td/integrations/tariff_20td_inverse/manifest.json" | ||
- name: 📦 Created zipped release package | ||
shell: bash | ||
run: | | ||
cd "${{ github.workspace }}/custom_components/tarifa_20td" | ||
zip tarifa_20td.zip -r ./ | ||
cd "${{ github.workspace }}/custom_components/tariff_20td" | ||
zip tariff_20td.zip -r ./ | ||
- name: 🔏 Sign release package | ||
uses: sigstore/[email protected] | ||
with: | ||
inputs: ${{ github.workspace }}/custom_components/tarifa_20td/tarifa_20td.zip | ||
inputs: ${{ github.workspace }}/custom_components/tariff_20td/tariff_20td.zip | ||
|
||
- name: ⬆️ Upload zip to release | ||
uses: softprops/[email protected] | ||
with: | ||
files: ${{ github.workspace }}/custom_components/tarifa_20td/tarifa_20td.zip | ||
files: ${{ github.workspace }}/custom_components/tariff_20td/tariff_20td.zip |