diff --git a/README.md b/README.md index 52fd31c8..88d9647b 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ Updates to `neowofetch` begins with the emoji 🖼️ -### 1.4.4 +### Unpublished 1.4.5 Note: You can install the latest nightly version by using: @@ -98,6 +98,8 @@ Note: You can install the latest nightly version by using: pip install git+https://github.com/hykilpikonna/hyfetch.git@master ``` +### 1.4.4 + * 🌈 Fix Python 3.11 compatibility (#35) * 🌈 Fix many overflow problems when screen is too small * 🖼️ Distro - Add Enso ([dylanaraps#2233](https://github.com/dylanaraps/neofetch/pull/2233)) diff --git a/tools/accept_upstream.py b/tools/accept_upstream.py index 31490b82..97c0f414 100755 --- a/tools/accept_upstream.py +++ b/tools/accept_upstream.py @@ -96,7 +96,7 @@ if __name__ == '__main__': # Push print() - print('Pushing...') + assert input('Push? [Enter/N]') == "" os.system('git push') copy_comment() diff --git a/tools/deploy-release.py b/tools/deploy-release.py index f9ca974d..5843cf50 100755 --- a/tools/deploy-release.py +++ b/tools/deploy-release.py @@ -16,6 +16,9 @@ from tools.list_distros import generate_help from tools.reformat_readme import reformat_readme +NEOFETCH_NEW_VERSION = "" + + def pre_check(): """ Check source code status before releasing. @@ -72,6 +75,9 @@ def edit_versions(version: str): lines[version_i] = f"version={nf}" path.write_text('\n'.join(lines)) + global NEOFETCH_NEW_VERSION + NEOFETCH_NEW_VERSION = nf + def finalize_neofetch(): """ @@ -117,6 +123,7 @@ def create_release(v: str): # 3. Create tag subprocess.check_call(['git', 'tag', v]) + subprocess.check_call(['git', 'tag', f'neofetch-{NEOFETCH_NEW_VERSION}']) i = input('Please check the commit is correct. Press y to continue or any other key to cancel.') assert i == 'y'