Skip to content

Commit

Permalink
update copyright in bash scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
sirfoga committed Oct 22, 2017
1 parent 167657b commit 5923841
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/make_here.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# coding: utf_8

# Copyright 2016 Stefano Fogarollo
# Copyright 2016-2018 Stefano Fogarollo
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
10 changes: 5 additions & 5 deletions docs/make_publish.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# coding: utf_8

# Copyright 2016 Stefano Fogarollo
# Copyright 2016-2018 Stefano Fogarollo
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -21,22 +21,22 @@ DOCS_FOLDER="docs/"
BUILD_FOLDER="build/"
COMMIT_MSG=$(git log -1 --pretty=%B) # last commit message

echo "<<<< CLEANING >>>>"
echo "\n\n<<<< CLEANING >>>>\n\n"
rm -rf ${OUTPUT_FOLDER} # clean
rm -rf ${BUILD_FOLDER}
mkdir ${BUILD_FOLDER} # prepare build folder

echo "<<<< GENERATING DOCS >>>>"
echo "\n\n<<<< GENERATING DOCS >>>>\n\n"
epydoc --config epydoc/Epydoc_html # make docs
mv ${OUTPUT_FOLDER}* ${BUILD_FOLDER} # move to build folder

echo "<<<< MOVING TO GH-PAGES >>>>"
echo "\n\n<<<< MOVING TO GH-PAGES >>>>\n\n"
git checkout gh-pages # change branch (to publish docs)
mv ${BUILD_FOLDER}* ../

rm -rf ${BUILD_FOLDER} # clean

echo "<<<< COMMITTING >>>>"
echo "\n\n<<<< COMMITTING >>>>\n\n"
git add --all
git commit -m "${COMMIT_MSG} (generated docs)"
git push origin gh-pages

0 comments on commit 5923841

Please sign in to comment.