chore: complete v1.0 milestone
Archive 5 phases (36 plans) to milestones/v1.0-phases/. Archive roadmap, requirements, and audit to milestones/. Evolve PROJECT.md with shipped state and validated requirements. Collapse ROADMAP.md to one-line milestone summary. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#Wkf
|
||||
name: Release zip package
|
||||
name: Release SharePoint Toolbox v2
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -19,12 +18,28 @@ jobs:
|
||||
GITEA_REPO: ${{ gitea.repository }}
|
||||
GITEA_REF_NAME: ${{ gitea.ref_name }}
|
||||
|
||||
- name: Publish self-contained EXE
|
||||
run: |
|
||||
cd repo
|
||||
dotnet publish SharepointToolbox/SharepointToolbox.csproj \
|
||||
-c Release \
|
||||
-p:PublishSingleFile=true \
|
||||
-o publish
|
||||
|
||||
- name: Build zip
|
||||
run: |
|
||||
cd repo
|
||||
VERSION="${{ gitea.ref_name }}"
|
||||
ZIP="SharePoint_ToolBox_${VERSION}.zip"
|
||||
zip -r "../${ZIP}" Sharepoint_ToolBox.ps1 lang/ examples/
|
||||
ZIP="SharePoint_Toolbox_${VERSION}.zip"
|
||||
|
||||
mkdir -p package/examples
|
||||
cp publish/SharepointToolbox.exe package/
|
||||
cp SharepointToolbox/Resources/*.csv package/examples/
|
||||
|
||||
cd package
|
||||
zip -r "../../${ZIP}" .
|
||||
cd ../..
|
||||
|
||||
echo "ZIP=${ZIP}" >> "$GITHUB_ENV"
|
||||
echo "VERSION=${VERSION}" >> "$GITHUB_ENV"
|
||||
|
||||
@@ -34,7 +49,7 @@ jobs:
|
||||
"${{ gitea.server_url }}/api/v1/repos/${{ gitea.repository }}/releases" \
|
||||
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d "{\"tag_name\":\"${{ env.VERSION }}\",\"name\":\"SharePoint ToolBox ${{ env.VERSION }}\",\"body\":\"1. Download and extract the archive\\n2. Launch Sharepoint_ToolBox.ps1 with PowerShell\\n\"}" \
|
||||
-d "{\"tag_name\":\"${{ env.VERSION }}\",\"name\":\"SharePoint Toolbox ${{ env.VERSION }}\",\"body\":\"## Installation\\n\\n1. Download and extract the archive\\n2. Launch **SharepointToolbox.exe** (no .NET runtime required)\\n\\n## Included\\n\\n- SharepointToolbox.exe — self-contained desktop application\\n- examples/ — sample CSV templates for bulk operations\\n\"}" \
|
||||
| python3 -c "import sys,json; print(json.load(sys.stdin)['id'])")
|
||||
echo "RELEASE_ID=${RELEASE_ID}" >> "$GITHUB_ENV"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user