feat: (removed) assets // add: sha256sum to releases
This commit is contained in:
parent
f1ec1dc167
commit
cfc6a613b7
4 changed files with 14 additions and 61 deletions
20
.github/workflows/build.yaml
vendored
20
.github/workflows/build.yaml
vendored
|
@ -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 }}
|
||||
|
|
36
README.md
36
README.md
|
@ -1,36 +0,0 @@
|
|||
<p align="center">
|
||||
<a href="https://metislinux.org"><img src="https://raw.githubusercontent.com/metis-os/Releases/main/assets/logo.png" height="100" width="100" style="border-radius:80%" alt="METIS LINUX"></a>
|
||||
<p align="center">METIS LINUX</p>
|
||||
</p>
|
||||
<p align="center">
|
||||
<img src="https://img.shields.io/badge/Maintained%3F-Yes-green?style=flat-square">
|
||||
<img src="https://img.shields.io/github/downloads/metis-os/Releases/total?label=downloads&logo=github&color=blue&style=flat-square">
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://metislinux.org" target="_blank"><img alt="home" src="https://img.shields.io/badge/HOME-red?style=flat-square"></a>
|
||||
<a href="https://metislinux.org/wiki" target="_blank"><img alt="wiki" src="https://img.shields.io/badge/WIKI-blue?style=flat-square"></a>
|
||||
<a href="https://www.reddit.com/r/metislinux" target="_blank"><img alt="reddit" src="https://img.shields.io/badge/REDDIT-yellow?style=flat-square"></a>
|
||||
<a href="https://twitter.com/Nabeen0x01" target="_blank"><img alt="reddit" src="https://img.shields.io/badge/TWITTER-green?style=flat-square"></a>
|
||||
<a href="mailto:info@metislinux.org">
|
||||
<img src="https://img.shields.io/badge/Gmail-D14836?style=flat-square&logo=gmail&logoColor=white">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
|
||||
<p align="center">
|
||||
Yet another minimal <a href="https://artixlinux.org">Artix</a> based distribution for chads !
|
||||
</p>
|
||||
|
||||
### 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
|
||||
```
|
BIN
assets/logo.png
BIN
assets/logo.png
Binary file not shown.
Before Width: | Height: | Size: 68 KiB |
19
git_add.sh
19
git_add.sh
|
@ -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.............."
|
||||
|
Loading…
Add table
Reference in a new issue