Compare commits
2 Commits
776a964d81
...
6ad8b6bf3c
| Author | SHA1 | Date | |
|---|---|---|---|
|
6ad8b6bf3c
|
|||
|
16a435f38a
|
35
.gitea/workflows/release-zip.yml
Normal file
35
.gitea/workflows/release-zip.yml
Normal file
@@ -0,0 +1,35 @@
|
||||
name: Zip and attach installable zip to release
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
zip-and-attach:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
steps:
|
||||
- name: Check out the repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Extract tag name and build zip filename
|
||||
id: vars
|
||||
run: |
|
||||
raw_tag="${GITHUB_REF##*/}"
|
||||
tag="${raw_tag#v}" # Remove leading "v" if present
|
||||
repo_name="${{ github.event.repository.name }}"
|
||||
echo "TAG_NAME=$tag" >> $GITHUB_OUTPUT
|
||||
echo "ZIP_NAME=${repo_name}_$tag.zip" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Create zip of the repository
|
||||
run: |
|
||||
zip -r "${{ steps.vars.outputs.ZIP_NAME }}" . -x '*.git*'
|
||||
|
||||
- name: Upload zip as a release asset
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: ${{ steps.vars.outputs.ZIP_NAME }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITEATOKEN }}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.4 KiB |
BIN
images/mobile.png.apple.png
Normal file
BIN
images/mobile.png.apple.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
@@ -173,6 +173,7 @@ function template_html_above()
|
||||
// Show all the relative links, such as help, search, contents, and the like.
|
||||
echo '
|
||||
<link rel="shortcut icon" sizes="196x196" href="' . $context['favicon'] . '" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="' . $context['favicon'] . '.apple.png" />
|
||||
<link rel="help" href="', $scripturl, '?action=help" />
|
||||
<link rel="contents" href="', $scripturl, '" />', ($context['allow_search'] ? '
|
||||
<link rel="search" href="' . $scripturl . '?action=search" />' : '');
|
||||
|
||||
Reference in New Issue
Block a user