generated from ext/template
fix(deb): use only date as package version
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
53ae2684ee
commit
e9d8e52eb3
2 changed files with 2 additions and 3 deletions
3
Makefile
3
Makefile
|
|
@ -15,7 +15,6 @@ dpkg:
|
|||
cp upstream/resources/niri.service deb-package/usr/lib/systemd/user/
|
||||
cp upstream/resources/niri-shutdown.target deb-package/usr/lib/systemd/user/
|
||||
chmod -R o-w deb-package/
|
||||
sed -i "s|%date%|`date +%Y%m%d`|g" deb-package/DEBIAN/control
|
||||
sed -i "s|%hash%|$(commit_abbrev)|g" deb-package/DEBIAN/control
|
||||
sed -i "s|%date%|`date +%Y%m%d%H%M%S`|g" deb-package/DEBIAN/control
|
||||
dpkg-deb --build deb-package/ $(package)
|
||||
@curl --user CIBot:$(password) --upload-file $(package) $(CI_FORGE_URL)/api/packages/$(CI_REPO_OWNER)/debian/pool/noble/main/upload
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
Package: niri-main
|
||||
Version: 0.0.1~git%date%.%hash%-1
|
||||
Version: 0.0.1~git%date%-1
|
||||
Section: base
|
||||
Priority: optional
|
||||
Architecture: amd64
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue