Skip to content
Snippets Groups Projects
Commit bc1e6cc8 authored by Ryan Smith's avatar Ryan Smith Committed by GitHub
Browse files

Merge pull request #143 from xAPI-vle/auto-release

Corrects semantic release command.
parents bff20f66 309cecac
No related branches found
No related tags found
No related merge requests found
...@@ -50,8 +50,8 @@ after_success: ...@@ -50,8 +50,8 @@ after_success:
git fetch --tags; git fetch --tags;
npm i semantic-release; npm i semantic-release;
npm i last-release-git; npm i last-release-git;
semantic-release pre; ./node_modules/.bin/semantic-release pre;
semantic-release post; ./node_modules/.bin/semantic-release post;
fi fi
before_deploy: before_deploy:
......
...@@ -14,13 +14,11 @@ find ../moodle_logstore_build -type f -name '.gitignore' | xargs rm -rf ...@@ -14,13 +14,11 @@ find ../moodle_logstore_build -type f -name '.gitignore' | xargs rm -rf
find ../moodle_logstore_build -type f -name 'composer.*' | xargs rm -rf find ../moodle_logstore_build -type f -name 'composer.*' | xargs rm -rf
find ../moodle_logstore_build -type f -name 'phpunit.*' | xargs rm -rf find ../moodle_logstore_build -type f -name 'phpunit.*' | xargs rm -rf
find ../moodle_logstore_build -type f -name '*.md' | xargs rm -rf find ../moodle_logstore_build -type f -name '*.md' | xargs rm -rf
find ../moodle_logstore_build -type f -name 'node_modules' | xargs rm -rf
find ../moodle_logstore_build -type f -name 'package-lock.json' | xargs rm -rf
find ../moodle_logstore_build -type f -name 'package.json' | xargs rm -rf
# Creates the zip file. # Creates the zip file.
mv ../moodle_logstore_build xapi mv ../moodle_logstore_build xapi
zip -r xapi.zip xapi -x "xapi/.git/**/*" zip -r xapi.zip xapi -x "xapi/.git/**/*"
rm -rf xapi rm -rf xapi
# Updates Github.
git add xapi.zip
git commit -m "Builds zip file."
git push
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment