diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index df59551556d0..91070e2241e1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -525,6 +525,23 @@ jobs: git config --global user.email "actions@github.com" git config --global user.name "Actions" git pull --tags + - name: Add checksums + run: | + output_file="checksums.txt" + + # Empty the output file if it exists + > "$output_file" + + # Find and loop through all files starting with "linwood-butterfly" in the current directory + for file in linwood-butterfly*; do + # Check if the file exists (in case no matches were found) + if [ -f "$file" ]; then + # Append sha256sum to the output file in the format "hash filename" + sha256sum "$file" >> "$output_file" + fi + done + + echo "SHA256 hashes for files starting with 'linwood-butterfly' saved to $output_file" - name: 🚀 Deploy stable if: ${{ github.ref == 'refs/tags/stable' || (github.event_name == 'release' && !github.event.release.prerelease) }} uses: softprops/action-gh-release@v2 @@ -544,6 +561,7 @@ jobs: linwood-butterfly-macos.dmg linwood-butterfly-android.apk linwood-butterfly-ios.ipa + checksums.txt env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: 🚀 Deploy nightly @@ -568,6 +586,7 @@ jobs: linwood-butterfly-android-arm64.apk linwood-butterfly-android-x86_64.apk linwood-butterfly-ios.ipa + checksums.txt env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Release diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 107e10874a6b..4b00b3323f40 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -254,4 +254,4 @@ jobs: Pre-release version ${{ env.BUTTERFLY_VERSION }} released! Download it here: https://butterfly.linwood.dev/downloads Please note that this is a pre-release version and is not intended for production use. - Read more about it here: https://butterfly.linwood.dev/nightly + Read more about it here: https://butterfly.linwood.dev/community/nightly diff --git a/SECURITY.md b/SECURITY.md index 7e51bca1a4f5..be607d92b584 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -4,7 +4,7 @@ | Version | Supported | | | --------- | ------------------ | -------------------------------------------------------------------------------------------------------------------------------- | -| 2.2.1-dev | :warning: | [Docs](https://butterfly.linwood.dev/docs/2.1/intro) [Release](https://github.com/LinwoodDev/butterfly/releases/tag/v2.2.1-rc.1) | +| 2.2.2-dev | :warning: | [Docs](https://butterfly.linwood.dev/docs/2.1/intro) [Release](https://github.com/LinwoodDev/butterfly/releases/tag/v2.2.2-rc.0) | | 2.2.1 | :white_check_mark: | [Docs](https://butterfly.linwood.dev/docs/2.2/intro) [Release](https://github.com/LinwoodDev/butterfly/releases/tag/v2.2.1) | | 2.1.1 | :x: | [Docs](https://butterfly.linwood.dev/docs/2.1/intro) [Release](https://github.com/LinwoodDev/butterfly/releases/tag/v2.1.1) | | 2.0.3 | :x: | [Docs](https://butterfly.linwood.dev/docs/2.0/intro) [Release](https://github.com/LinwoodDev/butterfly/releases/tag/v2.0.3) | diff --git a/app/pubspec.lock b/app/pubspec.lock index 78ff21b4809d..3df4b5ca3e8e 100644 --- a/app/pubspec.lock +++ b/app/pubspec.lock @@ -1626,10 +1626,10 @@ packages: dependency: transitive description: name: win32 - sha256: e1d0cc62e65dc2561f5071fcbccecf58ff20c344f8f3dc7d4922df372a11df1f + sha256: "10169d3934549017f0ae278ccb07f828f9d6ea21573bab0fb77b0e1ef0fce454" url: "https://pub.dev" source: hosted - version: "5.7.1" + version: "5.7.2" win32_registry: dependency: transitive description: diff --git a/metadata/en-US/changelogs/121.txt b/metadata/en-US/changelogs/121.txt new file mode 100644 index 000000000000..906a0fcfdc13 --- /dev/null +++ b/metadata/en-US/changelogs/121.txt @@ -0,0 +1,3 @@ +* Add checksums to release assets ([#753](httpps://github.com/LinwoodDev/Butterfly/issues/753)) + +Read more here: https://linwood.dev/butterfly/2.2.2-rc.1 \ No newline at end of file