Commit fe8b54e9 authored by guzman's avatar guzman
Browse files

improve scripts

parent 0e65830b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
_build
_build*/
local/

env

0 → 100644
+9 −0
Original line number Diff line number Diff line
#!/bin/bash
SERVER="ftp://osm-download.etsi.org"
FOLDER="user-guide"
FTP_OPTS=""

# Define your FTP credentials in a separate (private file)
# local/.credentials
# USERNAME=
# PASSWORD=

updater.sh

0 → 100755
+13 −0
Original line number Diff line number Diff line
#!/bin/bash

# URL References
for file in *.md; 
do 
	echo ${file}
	sed -i "s/\/ReleaseNINE/\/ReleaseTEN/g" ${file};
	sed -i "s/\/osm-9.0-nine\//\/osm-10.0-ten\//g" ${file};
	sed -i "s/releasenine/releaseten/g" ${file};
done

# Special
sed -i "s/NINE/TEN/g"  01-quickstart.md
+2 −3
Original line number Diff line number Diff line
@@ -3,9 +3,8 @@
# Script to upload documentation to ETSI site
#

SERVER="ftp://osm-download.etsi.org"
FOLDER="user-guide"
FTP_OPTS=""
source ./env

#
# Generate Statit Site
#