Skip to content

Commit

Permalink
bump version to v0.10.1
Browse files Browse the repository at this point in the history
this is the biggest update ever by far. time to post it on r/unixporn
  • Loading branch information
Toni500github committed Oct 28, 2024
1 parent 25f06d1 commit 095fd31
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v4

- name: create tmp directory
run: mkdir /tmp/customfetch-0.9.3.orig
run: mkdir /tmp/customfetch-0.10.1.orig

- name: Install Packages
run: sudo apt-get update && sudo apt-get install libwayland-dev binutils lintian debhelper devscripts debmake autoconf automake autotools-dev dh-make fakeroot xutils pbuilder -y
Expand All @@ -24,17 +24,17 @@ jobs:

- name: Create deb
run: |
cp -r $GITHUB_WORKSPACE /tmp/customfetch-0.9.3.orig
cd /tmp/customfetch-0.9.3.orig/customfetch
cp -r $GITHUB_WORKSPACE /tmp/customfetch-0.10.1.orig
cd /tmp/customfetch-0.10.1.orig/customfetch
mkdir -p Debian/Debhelper/Buildsystem/
wget https://github.com/Debian/debhelper/raw/master/lib/Debian/Debhelper/Buildsystem/makefile.pm -O Debian/Debhelper/Buildsystem/make.pm
sed -i "s#package Debian::Debhelper::Buildsystem::makefile#package Debian::Debhelper::Buildsystem::make#g" Debian/Debhelper/Buildsystem/make.pm
dpkg-buildpackage -us -uc
- name: Install test customfetch
run: |
cd /tmp/customfetch-0.9.3.orig
sudo dpkg -i customfetch_0.9.3-1_amd64.deb
cd /tmp/customfetch-0.10.1.orig
sudo dpkg -i customfetch_0.10.1-1_amd64.deb
cufetch --wrap-lines=0
build_ubuntu-latest:
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
- uses: actions/checkout@v4

- name: create tmp directory
run: mkdir /tmp/customfetch-0.9.3.orig
run: mkdir /tmp/customfetch-0.10.1.orig

- name: Install Packages
run: |
Expand All @@ -97,20 +97,20 @@ jobs:

- name: Create deb
run: |
cp -r $GITHUB_WORKSPACE /tmp/customfetch-0.9.3.orig
cd /tmp/customfetch-0.9.3.orig/customfetch
cp -r $GITHUB_WORKSPACE /tmp/customfetch-0.10.1.orig
cd /tmp/customfetch-0.10.1.orig/customfetch
mkdir -p Debian/Debhelper/Buildsystem/
wget https://github.com/Debian/debhelper/raw/master/lib/Debian/Debhelper/Buildsystem/makefile.pm -O Debian/Debhelper/Buildsystem/make.pm
sed -i "s#package Debian::Debhelper::Buildsystem::makefile#package Debian::Debhelper::Buildsystem::make#g" Debian/Debhelper/Buildsystem/make.pm
sed -i "s#DEBUG=0#DEBUG=0 CXX=x86_64-linux-gnu-g++-10#g" debian/rules
dpkg-buildpackage -us -uc
mv ../customfetch_0.9.3-1_amd64.deb ../customfetch_amd64.deb
mv ../customfetch_0.10.1-1_amd64.deb ../customfetch_amd64.deb
- name: Upload to github artifacts
uses: actions/upload-artifact@v3
with:
name: customfetch-deb-pkg
path: /tmp/customfetch-0.9.3.orig/customfetch_amd64.deb
path: /tmp/customfetch-0.10.1.orig/customfetch_amd64.deb

build-deb-gui:
runs-on: ubuntu-20.04
Expand All @@ -119,7 +119,7 @@ jobs:
- uses: actions/checkout@v4

- name: create tmp directory
run: mkdir /tmp/customfetch-0.9.3.orig
run: mkdir /tmp/customfetch-0.10.1.orig

- name: Install Packages
run: |
Expand All @@ -134,20 +134,20 @@ jobs:

- name: Create deb
run: |
cp -r $GITHUB_WORKSPACE /tmp/customfetch-0.9.3.orig
cd /tmp/customfetch-0.9.3.orig/customfetch
cp -r $GITHUB_WORKSPACE /tmp/customfetch-0.10.1.orig
cd /tmp/customfetch-0.10.1.orig/customfetch
mkdir -p Debian/Debhelper/Buildsystem/
wget https://github.com/Debian/debhelper/raw/master/lib/Debian/Debhelper/Buildsystem/makefile.pm -O Debian/Debhelper/Buildsystem/make.pm
sed -i "s#package Debian::Debhelper::Buildsystem::makefile#package Debian::Debhelper::Buildsystem::make#g" Debian/Debhelper/Buildsystem/make.pm
sed -i "s#GUI_MODE=0#GUI_MODE=1 CXX=x86_64-linux-gnu-g++-10#g" debian/rules
dpkg-buildpackage -us -uc
mv ../customfetch_0.9.3-1_amd64.deb ../customfetch-gui_amd64.deb
mv ../customfetch_0.10.1-1_amd64.deb ../customfetch-gui_amd64.deb
- name: Upload to github artifacts
uses: actions/upload-artifact@v3
with:
name: customfetch-gui-deb-pkg
path: /tmp/customfetch-0.9.3.orig/customfetch-gui_amd64.deb
path: /tmp/customfetch-0.10.1.orig/customfetch-gui_amd64.deb

release:
name: Create GitHub Release
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ endif

NAME = customfetch
TARGET = cufetch
OLDVERSION = 0.9.2
VERSION = 0.9.3
OLDVERSION = 0.9.3
VERSION = 0.10.1
BRANCH = $(shell git rev-parse --abbrev-ref HEAD)
SRC = $(wildcard src/*.cpp src/query/unix/*.cpp src/query/unix/utils/*.cpp)
OBJ = $(SRC:.cpp=.o)
Expand Down
2 changes: 1 addition & 1 deletion compile_flags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
-Wextra
-Wpedantic
-std=c++20
-DVERSION="0.9.3"
-DVERSION="0.10.1"
-DBRANCH="main"
-DGUI_MODE=1
-DUSE_DCONF=1
Expand Down

0 comments on commit 095fd31

Please sign in to comment.