refactor: update CI workflow to use job outputs and correct developer name in documentation
This commit is contained in:
@@ -29,12 +29,13 @@ jobs:
|
||||
id: version
|
||||
run: |
|
||||
VERSION=$(node -p "require('./manifest.json').version")
|
||||
echo "EXT_VERSION=$VERSION" >> $GITHUB_ENV
|
||||
echo "ext_version=$VERSION" >> "$GITHUB_OUTPUT"
|
||||
echo "Building extension release for version: $VERSION"
|
||||
|
||||
- name: Build Production Extension ZIP
|
||||
id: package
|
||||
run: |
|
||||
ZIP_NAME="brightwheel-exporter-v${{ env.EXT_VERSION }}.zip"
|
||||
ZIP_NAME="brightwheel-exporter-v${{ steps.version.outputs.ext_version }}.zip"
|
||||
echo "📦 Packaging $ZIP_NAME..."
|
||||
zip -r "$ZIP_NAME" . \
|
||||
-x "*.git*" \
|
||||
@@ -49,13 +50,14 @@ jobs:
|
||||
-x "LICENSE" \
|
||||
-x "*.zip"
|
||||
|
||||
echo "ZIP_FILE=$ZIP_NAME" >> $GITHUB_ENV
|
||||
echo "zip_file=$ZIP_NAME" >> "$GITHUB_OUTPUT"
|
||||
echo "✅ Package contents verified:"
|
||||
unzip -l "$ZIP_NAME"
|
||||
|
||||
- name: Upload ZIP to GitHub Release Assets
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: ${{ env.ZIP_FILE }}
|
||||
files: ${{ steps.package.outputs.zip_file }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2026 Haopeng Zhan
|
||||
Copyright (c) 2026 Pengzhan Hao
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
+2
-1
@@ -1,7 +1,7 @@
|
||||
# Privacy Policy for Brightwheel Memories & Reports Exporter
|
||||
|
||||
**Last Updated:** August 23, 2026
|
||||
**Developer:** Haopeng Zhan
|
||||
**Developer:** Pengzhan Hao
|
||||
**Repository:** [https://git.pengzhan.dev/haopengzhan/brightwheel-exporter](https://git.pengzhan.dev/haopengzhan/brightwheel-exporter)
|
||||
|
||||
---
|
||||
@@ -39,5 +39,6 @@ This extension interacts only with Brightwheel's web application to help users b
|
||||
## 5. Contact & Open Source Verification
|
||||
|
||||
Because this project is open source under the MIT License, you can inspect the full source code and verify our privacy practices directly in the Git repository:
|
||||
|
||||
- **Git Repository:** [https://git.pengzhan.dev/haopengzhan/brightwheel-exporter](https://git.pengzhan.dev/haopengzhan/brightwheel-exporter)
|
||||
- **Report Issues / Inquiries:** [https://git.pengzhan.dev/haopengzhan/brightwheel-exporter/issues](https://git.pengzhan.dev/haopengzhan/brightwheel-exporter/issues)
|
||||
|
||||
Reference in New Issue
Block a user