fix(ci): get version number in ci checkout
All checks were successful
/ build_debian (push) Successful in 16s
All checks were successful
/ build_debian (push) Successful in 16s
This commit is contained in:
parent
55a138c2a7
commit
923bf05392
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ jobs:
|
||||||
mkdir -p \
|
mkdir -p \
|
||||||
package/debian/barcode-utils/usr/bin \
|
package/debian/barcode-utils/usr/bin \
|
||||||
package/debian/barcode-utils/usr/share/webextensions
|
package/debian/barcode-utils/usr/share/webextensions
|
||||||
sed -re "s/__VERSION__/0.$(git rev-list --count HEAD)-1/g" -i package/debian/barcode-utils/DEBIAN/control
|
sed -re "s/__VERSION__/0.$(git rev-list --count ${GITHUB_REF_NAME})-1/g" -i package/debian/barcode-utils/DEBIAN/control
|
||||||
# barcode-websocket-server
|
# barcode-websocket-server
|
||||||
cp barcode-websocket-server package/debian/barcode-utils/usr/bin/
|
cp barcode-websocket-server package/debian/barcode-utils/usr/bin/
|
||||||
# webextension-tabfocus
|
# webextension-tabfocus
|
||||||
|
|
Loading…
Reference in a new issue