Skip to content

Commit

Permalink
Revert "Update release (#18)"
Browse files Browse the repository at this point in the history
This reverts commit 5172993.
  • Loading branch information
MiguelAngelLV authored Mar 24, 2024
1 parent 5172993 commit cc40539
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
release:
name: Release
name: Release the Spook! 👻
runs-on: ubuntu-latest
permissions:
contents: write
Expand All @@ -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/gh-action-sigstore-python@v2.1.1
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/action-gh-release@v2.0.4
with:
files: ${{ github.workspace }}/custom_components/tarifa_20td/tarifa_20td.zip
files: ${{ github.workspace }}/custom_components/tariff_20td/tariff_20td.zip

0 comments on commit cc40539

Please sign in to comment.