diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2476981..fb13014 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -20,10 +20,9 @@ jobs: - uses: actions/checkout@v3 - name: Installing artools in the system run: | - pacman --noconfirm -Sy ruby artools iso-profiles man-pages man - - name: Setting up filesystem for the build + - name: Setting up filesystem for the build run: | dd if=/dev/zero of=/tmp/loopfs.img bs=1024 count=8000000 losetup /dev/loop3 /tmp/loopfs.img @@ -31,7 +30,7 @@ jobs: mkdir -p /var/lib/artools mount /dev/loop3 /var/lib/artools - - name: Building image may takes up to 6 minutes.. + - name: Building image (may take up to 6 minutes) run: | mkdir ~/artools-workspace/iso-profiles -p cp base ~/artools-workspace/iso-profiles -r @@ -50,12 +49,21 @@ jobs: ISO_PATH=$(find ~/artools-workspace/iso -name "artix-base-runit-${{ env.NOW }}-x86_64.iso" | head -n 1) echo "ISO_PATH=$ISO_PATH" >> $GITHUB_ENV - - name: Uploading image to releases + - name: Generate SHA256 checksum + run: | + CHECKSUM=$(sha256sum "${ISO_PATH}" | awk '{print $1}') + echo "CHECKSUM=$CHECKSUM" >> $GITHUB_ENV + + - name: Uploading image and checksum to releases uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} - file: ${{ env.ISO_PATH }} - asset_name: metis-linux-runit-${{ env.NOW }}-x86_64.iso + files: | + ${{ env.ISO_PATH }} + <(echo "${CHECKSUM} ${ISO_PATH}" > checksum.txt) + asset_names: | + metis-linux-runit-${{ env.NOW }}-x86_64.iso + metis-linux-runit-${{ env.NOW }}-x86_64.iso.sha256 tag: MetisLinux-${{ env.NOW }} overwrite: true body: This is the release of Metis Linux ISO on ${{ env.NOW }} diff --git a/README.md b/README.md deleted file mode 100644 index 48941c0..0000000 --- a/README.md +++ /dev/null @@ -1,36 +0,0 @@ -
METIS LINUX
- -
-
-
-
-
-
-
-
-
-
-
-
-Yet another minimal Artix based distribution for chads ! -
- -### Latest release -- **`ISO`** : [metis-base-runit-20220717-v1.1.1-x86_64.iso](https://github.com/metis-os/Releases/releases/download/v1.1.1/metis-base-runit-20220717-v1.1.1-x86_64.iso) -- **`md5sum`** : [metis-base-runit-20220717-v1.1.1-x86_64.iso.md5sum](https://github.com/metis-os/Releases/releases/download/v1.1.1/metis-base-runit-20220717-v1.1.1-x86_64.iso.md5sum) -- **`sha256sum`** : [metis-base-runit-20220717-v1.1.1-x86_64.iso.sha256sum](https://github.com/metis-os/Releases/releases/download/v1.1.1/metis-base-runit-20220717-v1.1.1-x86_64.iso.sha256sum) -- Verify the `iso` by running : -``` -$ sha256sum -c metis-base-runit-20220717-v1.1.1-x86_64.iso -``` -or -``` -$ md5sum metis-base-runit-20220717-v1.1.1-x86_64.iso -``` diff --git a/assets/logo.png b/assets/logo.png deleted file mode 100644 index 474478d..0000000 Binary files a/assets/logo.png and /dev/null differ diff --git a/git_add.sh b/git_add.sh deleted file mode 100755 index 865e5d6..0000000 --- a/git_add.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -# Set Git user information -git config --global user.email "hey@pwnwriter.xyz" -git config --global user.name "pwnwriter" - -# Add all modified files to the staging area -git add . - -# Commit changes with a descriptive message -commit_message="Automated Update at $(date +%Y-%m-%d)" -git commit -m "$commit_message" - -# Push changes to the remote repository, forcing an update -git push --force - -# Display a success message -echo "Added files to github successfully.............." -