You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-25 09:43:33 +03:00
Simplify layered workflows around version string generation (#30865)
* Add reusable build workflow Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch to composite action Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Make checkout happier Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Hoist upload artifact Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * copy pasta Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Description Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Simplify Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix passing env Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
committed by
GitHub
parent
15af27b906
commit
2f238ed300
@@ -1,11 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Echoes a version based on the git hashes of the element-web, react-sdk & js-sdk checkouts, for the case where
|
||||
# Echoes a version based on the git hashes of the element-web & js-sdk checkouts, for the case where
|
||||
# these dependencies are git checkouts.
|
||||
|
||||
set -e
|
||||
|
||||
# Since the deps are fetched from git, we can rev-parse
|
||||
# Since the deps are fetched from git & linked, we can rev-parse
|
||||
JSSDK_SHA=$(git -C node_modules/matrix-js-sdk rev-parse --short=12 HEAD)
|
||||
VECTOR_SHA=$(git rev-parse --short=12 HEAD) # use the ACTUAL SHA rather than assume develop
|
||||
echo $VECTOR_SHA-js-$JSSDK_SHA
|
||||
echo "$VECTOR_SHA-js-$JSSDK_SHA"
|
||||
|
||||
Reference in New Issue
Block a user