Skip to content

Commit

Permalink
bump version to v0.9.2
Browse files Browse the repository at this point in the history
I hope I don't have to do any more changes for then re-releasing again
  • Loading branch information
Toni500github committed Sep 11, 2024
1 parent c2426d9 commit 658b79f
Show file tree
Hide file tree
Showing 5 changed files with 24 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.0.orig
run: mkdir /tmp/customfetch-0.9.2.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.0.orig
cd /tmp/customfetch-0.9.0.orig/customfetch
cp -r $GITHUB_WORKSPACE /tmp/customfetch-0.9.2.orig
cd /tmp/customfetch-0.9.2.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 cufetch
run: |
cd /tmp/customfetch-0.9.0.orig
sudo dpkg -i customfetch_0.9.0-1_amd64.deb
cd /tmp/customfetch-0.9.2.orig
sudo dpkg -i customfetch_0.9.2-1_amd64.deb
cufetch
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.0.orig
run: mkdir /tmp/customfetch-0.9.2.orig

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

- name: Create deb
run: |
cp -r $GITHUB_WORKSPACE /tmp/customfetch-0.9.0.orig
cd /tmp/customfetch-0.9.0.orig/customfetch
cp -r $GITHUB_WORKSPACE /tmp/customfetch-0.9.2.orig
cd /tmp/customfetch-0.9.2.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.0-1_amd64.deb ../customfetch_amd64.deb
mv ../customfetch_0.9.2-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.0.orig/customfetch_amd64.deb
path: /tmp/customfetch-0.9.2.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.0.orig
run: mkdir /tmp/customfetch-0.9.2.orig

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

- name: Create deb
run: |
cp -r $GITHUB_WORKSPACE /tmp/customfetch-0.9.0.orig
cd /tmp/customfetch-0.9.0.orig/customfetch
cp -r $GITHUB_WORKSPACE /tmp/customfetch-0.9.2.orig
cd /tmp/customfetch-0.9.2.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.0-1_amd64.deb ../customfetch-gui_amd64.deb
mv ../customfetch_0.9.2-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.0.orig/customfetch-gui_amd64.deb
path: /tmp/customfetch-0.9.2.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 @@ -39,8 +39,8 @@ endif

NAME = customfetch
TARGET = cufetch
OLDVERSION = 0.8.8
VERSION = 0.9.0
OLDVERSION = 0.9.0
VERSION = 0.9.2
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.0"
-DVERSION="0.9.2"
-DBRANCH="main"
-DGUI_MODE=1
-DDEBUG=1
Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
customfetch (0.9.2-1) unstable; urgency=medium

* bump version to 0.9.2-1

-- toni500 <[email protected]> Wed, 11 Sep 12:46:54 -0500

customfetch (0.9.0-1) unstable; urgency=medium

* bump version to 0.9.0-1
Expand Down

0 comments on commit 658b79f

Please sign in to comment.