GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — . e Remove the Twitter announcement from the release process · approvals/ApprovalTests.cpp@7c5f9ae

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • build
    • release_script_todos.md
    • scripts
      • deploy_release.py
    • tests
      • TestDeployRelease.test_get_tweet_text.approved.txt
      • test_deploy_release.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎build/release_script_todos.md‎

Copy file name to clipboardExpand all lines: build/release_script_todos.md
-2Lines changed: 0 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@
3333

3434
* [ ] Automate the check_steps
3535

36-
* [ ] Create screenshot image of release notes, and include in Tweet
37-
3836
* [ ] Improve the chdir to start at the top-level directory - and check that we are the top-level
3937

4038
* [ ] Auto-detect if there is a milestone
Collapse file

‎build/scripts/deploy_release.py‎

Copy file name to clipboardExpand all lines: build/scripts/deploy_release.py
-17Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -44,22 +44,6 @@ def get_github_release_command(self, commit_sha: str) -> List[str]:
4444
"--notes-file", self.details.new_release_notes_path,
4545
self.details.release_new_single_header]
4646

47-
def publish_tweet(self) -> None:
48-
# Draft the tweet
49-
check_step("that you have created a screenshot of the release notes, for the Tweet")
50-
tweet_text = self.get_tweet_text()
51-
run(["open", tweet_text])
52-
check_step("that the tweet is published")
53-
54-
def get_tweet_text(self) -> str:
55-
project = self.details.project_details.github_project_name
56-
return F"'https://twitter.com/intent/tweet?text=%23{project}+" \
57-
F"{self.details.new_version_as_text()}" \
58-
F"+released%2C+now+with+___%21%0D%0Ahttps%3A%2F%2Fgithub.com%2F" \
59-
F"approvals%2F{project}%2Freleases%2Ftag%2F" \
60-
F"{self.details.new_version_as_text()}+%0D%0Aor+try+the+starter+project%3A+https%3A%2F%2Fgithub.com" \
61-
F"%2Fapprovals%2F{project}.StarterProject%0D%0AThanks+%40LlewellynFalco+%40ClareMacraeUK+%21'"
62-
6347
def publish_on_reddit_optionally(self) -> None:
6448
# Announce on Reddit - maybe?
6549
run(["open", "https://www.reddit.com/r/cpp/"])
@@ -72,7 +56,6 @@ def push_everything_live(self, start_at_conan: bool = False) -> None:
7256
DeployStarterProjectRelease.publish_starter_project(self.details)
7357
# DeployConanRelease.test_conan_and_create_pr(self.details)
7458
# DeployVcpkgRelease.test_vcpkg_and_create_pr(self.details)
75-
self.publish_tweet()
7659
self.publish_on_reddit_optionally()
7760

7861

Collapse file

‎build/tests/TestDeployRelease.test_get_tweet_text.approved.txt‎

Copy file name to clipboardExpand all lines: build/tests/TestDeployRelease.test_get_tweet_text.approved.txt
-1Lines changed: 0 additions & 1 deletion
This file was deleted.
Collapse file

‎build/tests/test_deploy_release.py‎

Copy file name to clipboardExpand all lines: build/tests/test_deploy_release.py
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ def test_get_github_release_command(self) -> None:
1515
deploy_release = self.get_deploy_release()
1616
verify("\n".join(deploy_release.get_github_release_command("0123456789abcdef")))
1717

18-
def test_get_tweet_text(self) -> None:
19-
deploy_release = self.get_deploy_release()
20-
verify(deploy_release.get_tweet_text())
21-
2218
def test_get_url_for_starter_project_single_header_for_version(self) -> None:
2319
deploy_release = self.get_deploy_release()
2420
verify(DeployStarterProjectRelease.get_url_for_starter_project_single_header_for_version(

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.