mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 18:43:10 -06:00
dendrite version from commit hash (#1221)
this pr computes dendrite docker version from the commit hash, instead of bumping versions. the previous setup caused issues and conflicts when branch protection is enabled. this way we can seamlessly keep pushing to main and it will keep getting built and published
This commit is contained in:
parent
b8fd046e51
commit
bf303908fa
|
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# This script is used to extract the version string from the package.json file
|
||||
echo "$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[",]//g' | tr -d '[[:space:]]')"
|
||||
echo $(git log -1 --pretty=%h)
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
"name": "@herenotthere/dendrite-monolith",
|
||||
"version": "1.0.38"
|
||||
}
|
||||
Loading…
Reference in a new issue