Skip to content

Commit

Permalink
Updating version line in the formula
Browse files Browse the repository at this point in the history
  • Loading branch information
emawby committed May 26, 2022
1 parent b615f99 commit 966e51f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update_formula.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ def update_version(version, revision):
formula = open('Formula/onesignal-cli.rb', 'r')
lines = formula.readlines()
lines[3] = " url \"https://github.com/OneSignal/cli.git\", tag: \"{}\", revision: \"{}\"\n".format(version, revision)

lines[5] = " version \"{}\"\n".format(version)
formula = open('Formula/onesignal-cli.rb', 'w')
formula.writelines(lines)
formula.close()
Expand Down

0 comments on commit 966e51f

Please sign in to comment.