Skip to content

Commit

Permalink
Publish to a different forgebox slug for bleeding edge builds
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicWatson committed Jun 15, 2018
1 parent eb08b9a commit 927f29a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion box.json.no.deps
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"slug":"presidecms",
"name":"PresideCMS",
"version":"VERSION_NUMBER",
"location":"http://downloads.preside.org/DOWNLOADLOCATION",
Expand All @@ -13,7 +14,6 @@
"URL":"https://github.com/pixl8/Preside-CMS"
},
"bugs":"https://presidecms.atlassian.net",
"slug":"presidecms",
"shortDescription":"The Preside platform by Pixl8 Interactive",
"description":"",
"instructions":"https://docs.preside.org/quickstart.html",
Expand Down
2 changes: 1 addition & 1 deletion publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if [[ $TRAVIS_TAG == v* ]] || [[ $TRAVIS_BRANCH == release* ]] ; then
mv box.json box.json.orig
mv box.json.no.deps box.json
if [[ $TRAVIS_BRANCH == release* ]] ; then
sed -i 's/"name":"PresideCMS"/"name":"preside-be"/' box.json
sed -i 's/"slug":"presidecms"/"slug":"preside-be"/' box.json
fi
box forgebox login username="$FORGEBOXUSER" password="$FORGEBOXPASS" || exit 1;
box publish || exit 1
Expand Down

0 comments on commit 927f29a

Please sign in to comment.