Skip to content

Commit

Permalink
edit some things
Browse files Browse the repository at this point in the history
  • Loading branch information
itsnebulalol committed Jul 28, 2022
1 parent 6f71d88 commit 6f82d95
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,11 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push to Docker Hub
uses: docker/build-push-action@v2
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: itsnebulalol/permasigner:latest
pypi:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Build and publish to PyPi
uses: JRubics/poetry-publish@v1.12
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def main(args):
if subprocess.getoutput(['git', 'rev-parse', '--abbrev-ref', 'HEAD']) != "main":
ver_string = f"{subprocess.check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD']).decode('ascii').strip()}_{subprocess.check_output(['git', 'rev-parse', '--short', 'HEAD']).decode('ascii').strip()}"
else:
ver_string = f"{subprocess.check_output(['poetry', 'version', '--short']).decode('ascii').strip()}_rev-{subprocess.check_output(['git', 'rev-parse', '--short', 'HEAD']).decode('ascii').strip()}"
ver_string = f"{subprocess.check_output(['poetry', 'version', '--short']).decode('ascii').strip()}"

print(
f"IPA Permasigner | Version {ver_string}")
Expand Down
4 changes: 2 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ version = "1.0.0"
description = "Permanently signs IPAs on jailbroken iDevices (persists on stock)."
authors = ["Nebula"]
license = "BSD-3-Clause"
packages = [
{ include = "." }
]

[tool.poetry.dependencies]
python = "^3.7"
Expand Down

0 comments on commit 6f82d95

Please sign in to comment.