fix: build Gitea release archive without rsync
Build plugin release / release (push) Successful in 4s
Build plugin release / release (push) Successful in 4s
This commit is contained in:
@@ -21,16 +21,12 @@ jobs:
|
||||
run: |
|
||||
VERSION="${RELEASE_TAG#v}"
|
||||
grep -q "Version: ${VERSION}$" dabestaniha-authenticate-bridge.php
|
||||
mkdir -p build/mahak-authenticate-bridge dist
|
||||
rsync -a \
|
||||
--exclude='.git/' \
|
||||
--exclude='.gitea/' \
|
||||
--exclude='build/' \
|
||||
--exclude='dist/' \
|
||||
--exclude='test/' \
|
||||
./ build/mahak-authenticate-bridge/
|
||||
cd build
|
||||
zip -qr ../dist/mahak-authenticate-bridge.zip mahak-authenticate-bridge
|
||||
mkdir -p dist
|
||||
git archive \
|
||||
--format=zip \
|
||||
--prefix=mahak-authenticate-bridge/ \
|
||||
--output=dist/mahak-authenticate-bridge.zip \
|
||||
HEAD
|
||||
|
||||
- name: Publish Gitea release
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user