2 Commits

Author SHA1 Message Date
gitea-actions[bot] 26ba825e61 chore(version): pre-release bump to 01.07.29-dev [skip ci] 2026-06-30 19:03:09 +00:00
jmiller f2e56297fa fix: correct update server URL in package manifest
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 13s
2026-06-30 14:02:29 -05:00
5 changed files with 37 additions and 70 deletions
+33
View File
@@ -0,0 +1,33 @@
name: Build Package
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Build package ZIP
run: |
cd source
# Create individual package ZIPs
for pkg_dir in packages/*/; do
pkg_name=$(basename "$pkg_dir")
cd "$pkg_dir"
zip -r "../../${pkg_name}.zip" . -x "*.git*"
cd ../..
done
# Create main package ZIP with all sub-packages + manifest
zip -j "pkg_mokosuitenpo.zip" pkg_*.xml script.php updates.xml *.zip 2>/dev/null || true
ls -la *.zip
- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: source/pkg_mokosuitenpo.zip
generate_release_notes: true
-66
View File
@@ -1,66 +0,0 @@
name: Pre-Release Package
on:
push:
tags:
- "v*"
workflow_dispatch:
inputs:
version:
description: "Version (e.g. 1.0.0-alpha.1)"
required: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Determine version
id: version
run: |
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
echo "VERSION=${{ github.event.inputs.version }}" >> $GITHUB_OUTPUT
echo "TAG=v${{ github.event.inputs.version }}" >> $GITHUB_OUTPUT
else
VERSION="${GITHUB_REF#refs/tags/v}"
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
fi
- name: Build package zip
run: |
cd source
for dir in packages/*/; do
pkg_name=$(basename "$dir")
cd "$dir"
zip -r "../../${pkg_name}.zip" . -x "*.git*"
cd ../..
done
mkdir -p pkg_build
mv *.zip pkg_build/
cp pkg_*.xml pkg_build/ 2>/dev/null || true
cp script.php pkg_build/ 2>/dev/null || true
cd pkg_build
zip -r "../${{ github.event.repository.name }}-${{ steps.version.outputs.VERSION }}.zip" .
- name: Create Pre-Release
uses: actions/create-release@v1
id: create_release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.version.outputs.TAG }}
release_name: "${{ github.event.repository.name }} ${{ steps.version.outputs.TAG }}"
draft: false
prerelease: true
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./source/${{ github.event.repository.name }}-${{ steps.version.outputs.VERSION }}.zip
asset_name: ${{ github.event.repository.name }}-${{ steps.version.outputs.VERSION }}.zip
asset_content_type: application/zip
+1 -1
View File
@@ -5,7 +5,7 @@
# FILE INFORMATION
# DEFGROUP: Gitea.Workflow
# INGROUP: mokocli.Automation
# VERSION: 01.07.28
# VERSION: 01.07.29
# BRIEF: Auto-create feature branch when an issue is opened
name: "Universal: Issue Branch"
@@ -7,7 +7,7 @@
<license>GPL-3.0-or-later</license>
<authorEmail>hello@mokoconsulting.tech</authorEmail>
<authorUrl>https://mokoconsulting.tech</authorUrl>
<version>01.07.28</version>
<version>01.07.29</version>
<php_minimum>8.3</php_minimum>
<description>MokoSuite NPO component</description>
<namespace path="src">Moko\Component\MokoSuiteNpo</namespace>
+2 -2
View File
@@ -2,7 +2,7 @@
<extension type="package" method="upgrade">
<name>Package - MokoSuite NPO</name>
<packagename>mokosuitenpo</packagename>
<version>01.07.28</version>
<version>01.07.29</version>
<creationDate>2026-06-11</creationDate>
<author>Moko Consulting</author>
<authorEmail>hello@mokoconsulting.tech</authorEmail>
@@ -23,6 +23,6 @@
</files>
<updateservers>
<server type="extension" name="MokoSuiteNPO Updates">https://git.mokoconsulting.tech/api/packages/MokoConsulting/generic/MokoSuiteNPO/latest/updates.xml</server>
<server type="extension" name="MokoSuiteNPO Updates">https://git.mokoconsulting.tech/api/packages/MokoConsulting/generic/MokoSuiteNPO/updates.xml</server>
</updateservers>
</extension>