Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix release script #1514

Open
bochoven opened this issue Jun 20, 2023 · 0 comments
Open

Fix release script #1514

bochoven opened this issue Jun 20, 2023 · 0 comments

Comments

@bochoven
Copy link
Contributor

Running the release script caused the following error to occur:

git clone https://github.com/munkireport/munkireport-php /var/folders/jw/c04pw7jn2k7d84q4nz4rvtnh0000gp/T/mr_release_v073pbzz
Cloning into '/var/folders/jw/c04pw7jn2k7d84q4nz4rvtnh0000gp/T/mr_release_v073pbzz'...
remote: Enumerating objects: 40192, done.
remote: Counting objects: 100% (4227/4227), done.
remote: Compressing objects: 100% (1613/1613), done.
remote: Total 40192 (delta 2533), reused 4011 (delta 2394), pack-reused 35965
Receiving objects: 100% (40192/40192), 14.41 MiB | 14.65 MiB/s, done.
Resolving deltas: 100% (27486/27486), done.
git checkout 5.x
branch '5.x' set up to track 'origin/5.x'.
Switched to a new branch '5.x'
git add /var/folders/jw/c04pw7jn2k7d84q4nz4rvtnh0000gp/T/mr_release_v073pbzz/CHANGELOG.md
git commit -m Release version 5.8.0.
[5.x a64d750d] Release version 5.8.0.
 1 file changed, 1 insertion(+), 1 deletion(-)
git tag v5.8.0
git push origin 5.x
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 8 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 330 bytes | 330.00 KiB/s, done.
Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (2/2), completed with 2 local objects.
To https://github.com/munkireport/munkireport-php
   fc058b3c..a64d750d  5.x -> 5.x
git push --tags origin 5.x
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
To https://github.com/munkireport/munkireport-php
 * [new tag]           v5.8.0 -> v5.8.0
Traceback (most recent call last):
  File "/Volumes/Development/munkireport-php/./build/release/make_munkireport_release.py", line 280, in <module>
    main()
  File "/Volumes/Development/munkireport-php/./build/release/make_munkireport_release.py", line 240, in main
    create_release = api_call(
  File "/Volumes/Development/munkireport-php/./build/release/make_munkireport_release.py", line 58, in api_call
    results = urllib.request.urlopen(req, data=data, context=context)
  File "/Library/ManagedFrameworks/Python/Python3.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File "/Library/ManagedFrameworks/Python/Python3.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 516, in open
    req = meth(req)
  File "/Library/ManagedFrameworks/Python/Python3.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1279, in do_request_
    raise TypeError(msg)

This may have caused the CHANGELOG not being updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant