Skip to content

Commit

Permalink
bump version to v0.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Toni500github committed Nov 2, 2024
1 parent 1e19aef commit 5f1245c
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.10.0.orig
run: mkdir /tmp/customfetch-0.10.1.orig

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

- name: Create deb
run: |
cp -r $GITHUB_WORKSPACE /tmp/customfetch-0.10.0.orig
cd /tmp/customfetch-0.10.0.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.10.0.orig
sudo dpkg -i customfetch_0.10.0-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.10.0.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.10.0.orig
cd /tmp/customfetch-0.10.0.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.10.0-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@v4
with:
name: customfetch-deb-pkg
path: /tmp/customfetch-0.10.0.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.10.0.orig
run: mkdir /tmp/customfetch-0.10.1.orig

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

- name: Create deb
run: |
cp -r $GITHUB_WORKSPACE /tmp/customfetch-0.10.0.orig
cd /tmp/customfetch-0.10.0.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
sed -i "/^Build-Depends:/a Depends: libgtkmm-3.0-1v5,libgtk-3-0" debian/control
dpkg-buildpackage -us -uc
mv ../customfetch_0.10.0-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@v4
with:
name: customfetch-gui-deb-pkg
path: /tmp/customfetch-0.10.0.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.3
VERSION = 0.10.0
OLDVERSION = 0.10.0
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.10.0"
-DVERSION="0.10.1"
-DBRANCH="main"
-DGUI_MODE=1
-DUSE_DCONF=1
Expand Down

0 comments on commit 5f1245c

Please sign in to comment.