[U] Update deploy script
This commit is contained in:
parent
673d995618
commit
8235a400f0
3 changed files with 11 additions and 2 deletions
|
@ -90,7 +90,7 @@ Updates to `neowofetch` begins with the emoji 🖼️
|
|||
|
||||
<!-- CHANGELOG STARTS HERE --->
|
||||
|
||||
### 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))
|
||||
|
|
|
@ -96,7 +96,7 @@ if __name__ == '__main__':
|
|||
|
||||
# Push
|
||||
print()
|
||||
print('Pushing...')
|
||||
assert input('Push? [Enter/N]') == ""
|
||||
os.system('git push')
|
||||
|
||||
copy_comment()
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue