mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
release.sh: use git describe --abbrev=10
Without --abbrev flag it may produce different number of hash characters on different instances. It depends on the state of Git repo itself.
This commit is contained in:
parent
35d0fa26ac
commit
2464e942ec
2 changed files with 6 additions and 6 deletions
|
|
@ -23,13 +23,13 @@ make docker-release tag=v0.31.3-beta
|
|||
This will create the release artifacts in the `loop-v0.31.3-beta` directory.
|
||||
|
||||
If you want to build from an untagged commit, first check it out, then use the
|
||||
output of `git describe` as the tag:
|
||||
output of `git describe --abbrev=10` as the tag:
|
||||
|
||||
```bash
|
||||
git describe
|
||||
# v0.31.2-beta-128-gfa80357
|
||||
git describe --abbrev=10
|
||||
# v0.31.2-beta-135-g35d0fa26ac
|
||||
|
||||
make docker-release tag=v0.31.2-beta-128-gfa80357
|
||||
make docker-release tag=v0.31.2-beta-135-g35d0fa26ac
|
||||
```
|
||||
|
||||
You can filter the target platforms to speed up the build process. For example,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue