Skip to content

Commit

Permalink
Uncomment GitHub Releases packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
benhylau committed Sep 25, 2018
1 parent 6f3d795 commit 3c5051e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ RELEASE_VERSION=$1
###################################################

# Create directory for release assets ready to be published
#rm -rf publish
#mkdir publish
rm -rf publish
mkdir publish

# Package assets in tar.gz and zip formats
#tar --create --gzip -f "publish/workshop-materials-${RELEASE_VERSION}.tar.gz" -C output .
#cd output; zip --recurse-paths "../publish/workshop-materials-${RELEASE_VERSION}.zip" .; cd ..
tar --create --gzip -f "publish/workshop-materials-${RELEASE_VERSION}.tar.gz" -C output .
cd output; zip --recurse-paths "../publish/workshop-materials-${RELEASE_VERSION}.zip" .; cd ..

##########################################
# Generate hosted assets for GitHub Pages
Expand Down Expand Up @@ -111,4 +111,4 @@ for mod in module-*; do
done

# Build static website
cd site; bundle install; bundle exec jekyll build; cd ..
cd site; bundle install; bundle exec jekyll build; cd ..

0 comments on commit 3c5051e

Please sign in to comment.