Loading .gitlab-ci.yml +2 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,8 @@ build: - ASSET="max-V${MAX_VERSION}.zip" - echo "ASSET = "$ASSET - cd tools - ls . - ls .. - ./build.sh - ls dist artifacts: Loading tools/build.sh +11 −10 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ #builts max release ' zip DIRECTORY=$(cd `dirname $0` && pwd) echo "Working directory = "$DIRECTORY if [ -d dist ] then Loading Loading @@ -33,6 +33,7 @@ cp $DIRECTORY/../legal.txt $RELEASE_FOLDER cp $DIRECTORY/../README.md $RELEASE_FOLDER cp -Lr $DIRECTORY/../plugins $RELEASE_FOLDER MAX_PLUGINS_DIR=$RELEASE_FOLDER/plugins echo 'Target plugin dir = '$MAX_PLUGINS_DIR for i in `ls $MAX_PLUGINS_DIR` do touch $MAX_PLUGINS_DIR/$i/.ignore Loading @@ -53,17 +54,17 @@ sed -i "2s/.*/MAX_VERSION=$MAX_VERSION/g" $RELEASE_FOLDER/tools/max.sh echo "MaX "$MAX_VERSION > $RELEASE_FOLDER/VERSION #gets and builds documentation git clone git@git.unicaen.fr:pdn-certic/max-documentation.git cd max-documentation #git clone git@git.unicaen.fr:pdn-certic/max-documentation.git #cd max-documentation #override default documentation compil option for local use cp ../mkdocs_local_config.yml mkdocs.yml mkdocs build mv site ../$RELEASE_FOLDER/documentation cd .. rm -rf max-documentation #cp ../mkdocs_local_config.yml mkdocs.yml # #mkdocs build # #mv site ../$RELEASE_FOLDER/documentation #cd .. #rm -rf max-documentation zip -r $RELEASE_FOLDER.zip $RELEASE_FOLDER Loading Loading
.gitlab-ci.yml +2 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,8 @@ build: - ASSET="max-V${MAX_VERSION}.zip" - echo "ASSET = "$ASSET - cd tools - ls . - ls .. - ./build.sh - ls dist artifacts: Loading
tools/build.sh +11 −10 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ #builts max release ' zip DIRECTORY=$(cd `dirname $0` && pwd) echo "Working directory = "$DIRECTORY if [ -d dist ] then Loading Loading @@ -33,6 +33,7 @@ cp $DIRECTORY/../legal.txt $RELEASE_FOLDER cp $DIRECTORY/../README.md $RELEASE_FOLDER cp -Lr $DIRECTORY/../plugins $RELEASE_FOLDER MAX_PLUGINS_DIR=$RELEASE_FOLDER/plugins echo 'Target plugin dir = '$MAX_PLUGINS_DIR for i in `ls $MAX_PLUGINS_DIR` do touch $MAX_PLUGINS_DIR/$i/.ignore Loading @@ -53,17 +54,17 @@ sed -i "2s/.*/MAX_VERSION=$MAX_VERSION/g" $RELEASE_FOLDER/tools/max.sh echo "MaX "$MAX_VERSION > $RELEASE_FOLDER/VERSION #gets and builds documentation git clone git@git.unicaen.fr:pdn-certic/max-documentation.git cd max-documentation #git clone git@git.unicaen.fr:pdn-certic/max-documentation.git #cd max-documentation #override default documentation compil option for local use cp ../mkdocs_local_config.yml mkdocs.yml mkdocs build mv site ../$RELEASE_FOLDER/documentation cd .. rm -rf max-documentation #cp ../mkdocs_local_config.yml mkdocs.yml # #mkdocs build # #mv site ../$RELEASE_FOLDER/documentation #cd .. #rm -rf max-documentation zip -r $RELEASE_FOLDER.zip $RELEASE_FOLDER Loading