Skip to content

Commit 2dc70a5

Browse files
claremacraeisidore
andcommitted
B Fix URL args
Co-Authored-By: Llewellyn Falco <[email protected]>
1 parent eb3a3ee commit 2dc70a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/deploy_release.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ def publish_main_project(self):
4747
release_notes = read_file(self.details.new_release_notes_path)
4848
pyperclip.copy(release_notes)
4949
print('The release notes are on the clipboard')
50-
github_url = F"https://github.com/approvals/ApprovalTests.cpp/releases/new?tag={self.details.new_version}&title=Single%20Hpp%20File%20-%20{self.details.new_version}"
50+
github_url = F"'https://github.com/approvals/ApprovalTests.cpp/releases/new?tag={self.details.new_version}&title=Single%20Hpp%20File%20-%20{self.details.new_version}'"
5151
run(["open", github_url])
5252
run(["open", self.details.release_dir])
5353
check_step("that the release is published")
5454

5555
# Draft the tweet
56-
tweet_text = F"https://twitter.com/intent/tweet?text=%23ApprovalTests.cpp+{self.details.new_version}+released%2C+now+with+___%21%0D%0Ahttps%3A%2F%2Fgithub.com%2Fapprovals%2FApprovalTests.cpp%2Freleases%2Ftag%2F{self.details.new_version}+%0D%0Aor+try+the+starter+project%3A+https%3A%2F%2Fgithub.com%2Fapprovals%2FApprovalTests.cpp.StarterProject%0D%0AThanks+%40LlewellynFalco+%40ClareMacraeUK+%21"
56+
tweet_text = F"'https://twitter.com/intent/tweet?text=%23ApprovalTests.cpp+{self.details.new_version}+released%2C+now+with+___%21%0D%0Ahttps%3A%2F%2Fgithub.com%2Fapprovals%2FApprovalTests.cpp%2Freleases%2Ftag%2F{self.details.new_version}+%0D%0Aor+try+the+starter+project%3A+https%3A%2F%2Fgithub.com%2Fapprovals%2FApprovalTests.cpp.StarterProject%0D%0AThanks+%40LlewellynFalco+%40ClareMacraeUK+%21'"
5757
run(["open", tweet_text])
5858

5959
def push_everything_live(self):

0 commit comments

Comments
 (0)