Skip to content

Commit

Permalink
bump version to v0.10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Toni500github committed Nov 7, 2024
1 parent b1d68d8 commit 20d9e72
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.10.1.orig
run: mkdir /tmp/customfetch-0.10.2.orig

- name: Install Packages
run: |
Expand All @@ -27,17 +27,17 @@ jobs:

- name: Create deb
run: |
cp -r $GITHUB_WORKSPACE /tmp/customfetch-0.10.1.orig
cd /tmp/customfetch-0.10.1.orig/customfetch
cp -r $GITHUB_WORKSPACE /tmp/customfetch-0.10.2.orig
cd /tmp/customfetch-0.10.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 customfetch
run: |
cd /tmp/customfetch-0.10.1.orig
sudo dpkg -i customfetch_0.10.1-1_amd64.deb
cd /tmp/customfetch-0.10.2.orig
sudo dpkg -i customfetch_0.10.2-1_amd64.deb
customfetch --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.10.1.orig
run: mkdir /tmp/customfetch-0.10.2.orig

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

- name: Create deb
run: |
cp -r $GITHUB_WORKSPACE /tmp/customfetch-0.10.1.orig
cd /tmp/customfetch-0.10.1.orig/customfetch
cp -r $GITHUB_WORKSPACE /tmp/customfetch-0.10.2.orig
cd /tmp/customfetch-0.10.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.10.1-1_amd64.deb ../customfetch_amd64.deb
mv ../customfetch_0.10.2-1_amd64.deb ../customfetch_amd64.deb
- name: Upload to github artifacts
uses: actions/upload-artifact@v4
with:
name: customfetch-deb-pkg
path: /tmp/customfetch-0.10.1.orig/customfetch_amd64.deb
path: /tmp/customfetch-0.10.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.10.1.orig
run: mkdir /tmp/customfetch-0.10.2.orig

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

- name: Create deb
run: |
cp -r $GITHUB_WORKSPACE /tmp/customfetch-0.10.1.orig
cd /tmp/customfetch-0.10.1.orig/customfetch
cp -r $GITHUB_WORKSPACE /tmp/customfetch-0.10.2.orig
cd /tmp/customfetch-0.10.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
sed -i "/^Build-Depends:/a Depends: libgtkmm-3.0-1v5,libgtk-3-0" debian/control
dpkg-buildpackage -us -uc
mv ../customfetch_0.10.1-1_amd64.deb ../customfetch-gui_amd64.deb
mv ../customfetch_0.10.2-1_amd64.deb ../customfetch-gui_amd64.deb
- name: Upload to github artifacts
uses: actions/upload-artifact@v4
with:
name: customfetch-gui-deb-pkg
path: /tmp/customfetch-0.10.1.orig/customfetch-gui_amd64.deb
path: /tmp/customfetch-0.10.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 @@ -49,8 +49,8 @@ endif

NAME = customfetch
TARGET = $(NAME)
OLDVERSION = 0.10.0
VERSION = 0.10.1
OLDVERSION = 0.10.1
VERSION = 0.10.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.10.1"
-DVERSION="0.10.2"
-DBRANCH="main"
-DGUI_MODE=1
-DUSE_DCONF=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.10.2-1) unstable; urgency=medium

* bump version to 0.10.2-1 (bugfix)

-- toni500 <[email protected]> Wed, 6 Nov 16:43:21 +0100

customfetch (0.10.1-1) unstable; urgency=medium

* bump version to 0.10.1-1 (bugfix)
Expand Down

0 comments on commit 20d9e72

Please sign in to comment.