Skip to content

Commit

Permalink
Merge pull request #3 from DLR-TS/sumo
Browse files Browse the repository at this point in the history
Test PR for new workflows (2)
  • Loading branch information
Matthias Schwamborn authored Apr 15, 2021
2 parents 654d7ee + b5cfbd3 commit 2472de5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: Homebrew/actions/git-try-push@master
with:
token: ${{ github.token }}
branch: main
branch: master

- name: Delete branch
if: github.event.pull_request.head.repo.fork == false
Expand Down
2 changes: 1 addition & 1 deletion Casks/sumo-gui.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
verified: "sumo.dlr.de/daily/"
name "sumo-gui-macos"
desc "Simulation of Urban MObility GUI"
homepage "https://projects.eclipse.org/projects/automotive.sumo"
homepage "https://www.eclipse.org/sumo"

app "sumo-git/sumo-gui-macos/sumo-gui.app", target: "SUMO GUI.app"
app "sumo-git/sumo-gui-macos/netedit.app", target: "Netedit.app"
Expand Down
2 changes: 1 addition & 1 deletion Formula/sumo.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class Sumo < Formula
desc "Simulation of Urban MObility"
homepage "https://projects.eclipse.org/projects/automotive.sumo"
homepage "https://www.eclipse.org/sumo"
license "EPL-2.0"
head "https://github.com/eclipse/sumo.git"

Expand Down
5 changes: 4 additions & 1 deletion update_formula.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ echo "copying formula to Formula/${ARCHIVED_FORMULA_FILENAME} and updating class
sed "s/class Sumo/class ${FORMULA_CLASS_NAME}/" Formula/sumo.rb >> Formula/${ARCHIVED_FORMULA_FILENAME}
echo "done archiving old formula!"

echo "creating git branch"
git checkout -b sumo

echo "adding archived formula to git"
git add Formula/${ARCHIVED_FORMULA_FILENAME}
git commit -m "sumo: archive formula for version ${OLD_VERSION}"
Expand Down Expand Up @@ -75,4 +78,4 @@ git commit -m "update version number in README"
# tag commit
echo "tagging git commit..."
git tag -a $TAG -m "formula for sumo $TAG"
# git push origin master --tags
# git push --set-upstream origin sumo --tags

0 comments on commit 2472de5

Please sign in to comment.