Skip to content

Commit

Permalink
materialgram: Update v4.15.1.2
Browse files Browse the repository at this point in the history
Signed-off-by: Omansh Krishn <[email protected]>
  • Loading branch information
omansh-krishn committed Mar 9, 2024
1 parent 24b2c94 commit 1ddd458
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .SRCINFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgbase = materialgram-bin
pkgdesc = What if Telegram and Google had kids - Static binaries
pkgver = 4.15.0.1
pkgver = 4.15.1.2
pkgrel = 1
url = https://github.com/kukuruzka165/materialgram
arch = x86_64
Expand All @@ -24,7 +24,7 @@ pkgbase = materialgram-bin
optdepends = xdg-desktop-portal: desktop integration
provides = materialgram
conflicts = materialgram
source = https://github.com/kukuruzka165/materialgram/releases/download/v4.15.0.1/materialgram-v4.15.0.1.tar.gz
sha256sums = fc4a9401347e914ad02c4a3386e84f0066c5aa51cef59aa87cf282e85689b682
source = https://github.com/kukuruzka165/materialgram/releases/download/v4.15.1.2/materialgram-v4.15.1.2.tar.gz
sha256sums = a7081a6b4a64d0394e640f5d0575fcd8a07cad8660d3690d643df46ebf697b85

pkgname = materialgram-bin
14 changes: 8 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,22 @@ jobs:
su builder -c "git clone https://github.com/materialgram/materialgram-bin /home/builder/build && cd /home/builder/build && makepkg --syncdeps --noconfirm --needed"
- name: Set filename as variable
id: set-filename
run: echo "::set-output name=filename::$(basename /home/builder/build/*.zst)"
run: echo "FILENAME=$(basename /home/builder/build/*.zst)" >> $GITHUB_ENV

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ steps.set-filename.outputs.filename }}
name: ${{ env.FILENAME }}
path: /home/builder/build/*.zst

- name: UPLOAD TO GITHUB RELEASES
run: |
echo $PAT | gh auth login --with-token
export VERSION=$(cat /home/builder/build/PKGBUILD | grep 'pkgver=' | cut -d'=' -f2)
export FILE_NAME=${{ steps.set-filename.outputs.filename }}
gh release create ${VERSION} /home/builder/build/${FILE_NAME} --repo materialgram/materialgram-bin
git config --global user.email "[email protected]"
git config --global user.name "Omansh Krishn"
git config --global --add safe.directory /home/builder/build
git -C '/home/builder/build' tag -a ${VERSION} -m ${VERSION}
git -C '/home/builder/build' push "https://omansh-krishn:${PAT}@github.com/materialgram/materialgram-bin.git" ${VERSION}
gh release create ${VERSION} /home/builder/build/${{ env.FILENAME }} --repo materialgram/materialgram-bin
4 changes: 2 additions & 2 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: omansh-krishn <[email protected]>
# Contributor: westpain <[email protected]>
pkgname=materialgram-bin
pkgver=4.15.0.1
pkgver=4.15.1.2
pkgrel=1
pkgdesc="What if Telegram and Google had kids - Static binaries"
arch=(x86_64)
Expand All @@ -16,7 +16,7 @@ conflicts=('materialgram')

source=( https://github.com/kukuruzka165/materialgram/releases/download/v${pkgver}/materialgram-v${pkgver}.tar.gz )

sha256sums=('fc4a9401347e914ad02c4a3386e84f0066c5aa51cef59aa87cf282e85689b682')
sha256sums=('a7081a6b4a64d0394e640f5d0575fcd8a07cad8660d3690d643df46ebf697b85')

package() {

Expand Down

0 comments on commit 1ddd458

Please sign in to comment.