8686 - uses : actions/checkout@v4
8787
8888 - name : create tmp directory
89- run : mkdir /tmp/customfetch-1 .0.0.orig
89+ run : mkdir /tmp/customfetch-2 .0.0-beta1 .orig
9090
9191 - name : Install Packages
9292 run : |
@@ -99,20 +99,20 @@ jobs:
9999
100100 - name : Create deb
101101 run : |
102- cp -r $GITHUB_WORKSPACE /tmp/customfetch-1 .0.0.orig
103- cd /tmp/customfetch-1 .0.0.orig/customfetch
102+ cp -r $GITHUB_WORKSPACE /tmp/customfetch-2 .0.0-beta1 .orig
103+ cd /tmp/customfetch-2 .0.0-beta1 .orig/customfetch
104104 mkdir -p Debian/Debhelper/Buildsystem/
105105 wget https://github.com/Debian/debhelper/raw/master/lib/Debian/Debhelper/Buildsystem/makefile.pm -O Debian/Debhelper/Buildsystem/make.pm
106106 sed -i "s#package Debian::Debhelper::Buildsystem::makefile#package Debian::Debhelper::Buildsystem::make#g" Debian/Debhelper/Buildsystem/make.pm
107107 sed -i "s#DEBUG=0#DEBUG=0 CXX=x86_64-linux-gnu-g++-11#g" debian/rules
108108 dpkg-buildpackage -us -uc
109- mv ../customfetch_1 .0.0-1_amd64.deb ../customfetch_amd64.deb
109+ mv ../customfetch_2 .0.0-beta1 -1_amd64.deb ../customfetch_amd64.deb
110110
111111 - name : Upload to github artifacts
112112 uses : actions/upload-artifact@v4
113113 with :
114114 name : customfetch-deb-pkg
115- path : /tmp/customfetch-1 .0.0.orig/customfetch_amd64.deb
115+ path : /tmp/customfetch-2 .0.0-beta1 .orig/customfetch_amd64.deb
116116
117117 build-deb-gui :
118118 runs-on : ubuntu-22.04
@@ -123,7 +123,7 @@ jobs:
123123 - uses : actions/checkout@v4
124124
125125 - name : create tmp directory
126- run : mkdir /tmp/customfetch-1 .0.0.orig
126+ run : mkdir /tmp/customfetch-2 .0.0-beta1 .orig
127127
128128 - name : Install Packages
129129 run : |
@@ -136,21 +136,21 @@ jobs:
136136
137137 - name : Create deb
138138 run : |
139- cp -r $GITHUB_WORKSPACE /tmp/customfetch-1 .0.0.orig
140- cd /tmp/customfetch-1 .0.0.orig/customfetch
139+ cp -r $GITHUB_WORKSPACE /tmp/customfetch-2 .0.0-beta1 .orig
140+ cd /tmp/customfetch-2 .0.0-beta1 .orig/customfetch
141141 mkdir -p Debian/Debhelper/Buildsystem/
142142 wget https://github.com/Debian/debhelper/raw/master/lib/Debian/Debhelper/Buildsystem/makefile.pm -O Debian/Debhelper/Buildsystem/make.pm
143143 sed -i "s#package Debian::Debhelper::Buildsystem::makefile#package Debian::Debhelper::Buildsystem::make#g" Debian/Debhelper/Buildsystem/make.pm
144144 sed -i "s#GUI_APP=0#GUI_APP=1 CXX=x86_64-linux-gnu-g++-11#g" debian/rules
145145 sed -i "/^Build-Depends:/a Depends: libgtkmm-3.0-1v5,libgtk-3-0" debian/control
146146 dpkg-buildpackage -us -uc
147- mv ../customfetch_1 .0.0-1_amd64.deb ../customfetch-gui_amd64.deb
147+ mv ../customfetch_2 .0.0-beta1 -1_amd64.deb ../customfetch-gui_amd64.deb
148148
149149 - name : Upload to github artifacts
150150 uses : actions/upload-artifact@v4
151151 with :
152152 name : customfetch-gui-deb-pkg
153- path : /tmp/customfetch-1 .0.0.orig/customfetch-gui_amd64.deb
153+ path : /tmp/customfetch-2 .0.0-beta1 .orig/customfetch-gui_amd64.deb
154154
155155 release :
156156 name : Create GitHub Release
0 commit comments