actions: CASCADE_DOCS_FORCE_VERSION can force generating a version
This commit is contained in:
parent
dcc61603a2
commit
6236202f09
2 changed files with 5 additions and 1 deletions
|
@ -14,7 +14,7 @@ fi
|
|||
|
||||
cd $docs/docs/user
|
||||
|
||||
if ! test -f actions-contexts/version.txt || test "$VERSION" != $(cat actions-contexts/version.txt) ; then
|
||||
if test "$FORCE_VERSION" = "$VERSION" || ! test -f actions-contexts/version.txt || test "$VERSION" != $(cat actions-contexts/version.txt) ; then
|
||||
rm -fr actions-contexts
|
||||
mkdir actions-contexts
|
||||
echo "$VERSION" > actions-contexts/version.txt
|
||||
|
|
Loading…
Add table
Reference in a new issue