Skip to content

Commit

Permalink
Merge pull request #2 from moustafarai/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
moustafarai authored Mar 25, 2019
2 parents bd35bd1 + 364d9a4 commit 2efaf07
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,15 @@ if [ -n "$(cat $PROJECT_FILE | grep 'netcoreapp2.0')" ]; then
fi
export NUGET_PACKAGES="${CACHE_DIR}/nuget/cache"
sed -i "s/NUGETSELOGERLOGIN/${NUGETSELOGERLOGIN}/g" ${BUILD_DIR}/nuget.heroku
sed -i "s/NUGETSELOGERPASSWORD/${NUGETSELOGERPASSWORD}/g" ${BUILD_DIR}/nuget.heroku
rm -f ${BUILD_DIR}/nuget.config
mv ${BUILD_DIR}/nuget.heroku ${BUILD_DIR}/nuget.config
echo "publish ${PROJECT_FILE} for ${BUILD_CONFIGURATION}"
dotnet publish $PROJECT_FILE --output ${BUILD_DIR}/heroku_output --configuration ${BUILD_CONFIGURATION} --runtime linux-x64
if [ -f ${BUILD_DIR}/Procfile ] && grep -q '^web:' ${BUILD_DIR}/Procfile ; then
topic "WARNING"
echo "Be careful with custom Procfile" | indent
Expand Down

0 comments on commit 2efaf07

Please sign in to comment.