refactor: update CI workflow to use job outputs and correct developer name in documentation

This commit is contained in:
2026-08-23 15:39:13 -07:00
parent 7c48f3c0b0
commit fb73590c3e
3 changed files with 10 additions and 7 deletions
+6 -4
View File
@@ -29,12 +29,13 @@ jobs:
id: version id: version
run: | run: |
VERSION=$(node -p "require('./manifest.json').version") 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" echo "Building extension release for version: $VERSION"
- name: Build Production Extension ZIP - name: Build Production Extension ZIP
id: package
run: | 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..." echo "📦 Packaging $ZIP_NAME..."
zip -r "$ZIP_NAME" . \ zip -r "$ZIP_NAME" . \
-x "*.git*" \ -x "*.git*" \
@@ -49,13 +50,14 @@ jobs:
-x "LICENSE" \ -x "LICENSE" \
-x "*.zip" -x "*.zip"
echo "ZIP_FILE=$ZIP_NAME" >> $GITHUB_ENV echo "zip_file=$ZIP_NAME" >> "$GITHUB_OUTPUT"
echo "✅ Package contents verified:" echo "✅ Package contents verified:"
unzip -l "$ZIP_NAME" unzip -l "$ZIP_NAME"
- name: Upload ZIP to GitHub Release Assets - name: Upload ZIP to GitHub Release Assets
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
with: with:
files: ${{ env.ZIP_FILE }} files: ${{ steps.package.outputs.zip_file }}
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+1 -1
View File
@@ -1,6 +1,6 @@
MIT License 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 Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal
+2 -1
View File
@@ -1,7 +1,7 @@
# Privacy Policy for Brightwheel Memories & Reports Exporter # Privacy Policy for Brightwheel Memories & Reports Exporter
**Last Updated:** August 23, 2026 **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) **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 ## 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: 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) - **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) - **Report Issues / Inquiries:** [https://git.pengzhan.dev/haopengzhan/brightwheel-exporter/issues](https://git.pengzhan.dev/haopengzhan/brightwheel-exporter/issues)