generated from ext/template
fix(deb-package): use only datetime as version number
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
47a6deed06
commit
4f25943703
3 changed files with 2 additions and 5 deletions
|
|
@ -37,5 +37,3 @@ steps:
|
|||
environment:
|
||||
password:
|
||||
from_secret: package_token
|
||||
commit_abbrev: ${CI_COMMIT_SHA:0:7}
|
||||
|
||||
|
|
|
|||
3
Makefile
3
Makefile
|
|
@ -14,7 +14,6 @@ dpkg:
|
|||
cp -r upstream/build/lib/nvim/parser deb-package/usr/lib/x86_64-linux-gnu/nvim/
|
||||
cp -r upstream/runtime deb-package/usr/share/nvim/
|
||||
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: neovim-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