Compare commits
11 Commits
v0.0.6
...
20250207.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
23a208387c
|
|||
|
004c5dbae7
|
|||
|
4cf7b9b0ed
|
|||
|
d89e549a2a
|
|||
|
51acb3f348
|
|||
|
328fcea7f6
|
|||
|
00fd997d75
|
|||
|
d68a7ca49d
|
|||
|
78e593fbca
|
|||
|
7a30f53dce
|
|||
|
f1a1a22939
|
@@ -14,12 +14,7 @@ jobs:
|
||||
- name: Extract tag version number
|
||||
id: get_version
|
||||
uses: battila7/get-version-action@v2
|
||||
- run: echo ${{ steps.get_version.outputs.version-without-v }}
|
||||
- run: echo ${{ github.repository }}
|
||||
- run: echo ${{ gitea.repository }}
|
||||
- run: echo ${{ github.event.release.tag_name }}
|
||||
- run: echo ${{ secrets.GITHUB_TOKEN }}
|
||||
- run: echo ${{ github.event.release.name }}
|
||||
- run: echo ${{ steps.get_version.outputs.version-without-v }} ${{ github.repository }} ${{ github.event.release.tag_name }} ${{ secrets.GITHUB_TOKEN }} ${{ github.event.release.name }}
|
||||
|
||||
# Substitute the Manifest and Download URLs in the module.json
|
||||
- name: Substitute Manifest and Download Links For Versioned Ones
|
||||
@@ -34,20 +29,15 @@ jobs:
|
||||
download: https://gitea.ascorrea.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.zip
|
||||
|
||||
# Create a zip file with all files required by the module to add to the release
|
||||
- run: zip -r ./module.zip ./module.zip main.js module.json
|
||||
- run: zip -r ./module.zip module.json src
|
||||
- run: echo "Files- $(ls -la ${{ github.workspace }})"
|
||||
- run: echo "secret- `${{ secrets.TEST }}`"
|
||||
|
||||
# Create a release for this specific version
|
||||
- name: Update Release with Files
|
||||
id: create_version_release
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
with:
|
||||
allowUpdates: true # Set this to false if you want to prevent updating existing releases
|
||||
name: ${{ github.event.release.name }}
|
||||
draft: ${{ github.event.release.unpublished }}
|
||||
prerelease: ${{ github.event.release.prerelease }}
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
files: |-
|
||||
./module.json
|
||||
./module.zip
|
||||
tag: ${{ github.event.release.tag_name }}
|
||||
body: ${{ github.event.release.body }}
|
||||
./module.json
|
||||
./module.zip
|
||||
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
.env
|
||||
.secrets
|
||||
.github/
|
||||
Reference in New Issue
Block a user