Zach Borboa
bdec727f63
Update script to work with base class
2023-01-12 08:29:24 -08:00
Zach Borboa
b5e90e45a9
Fix release failure by fetching all tags during checkout
...
Command:
for remote in local_repo.remotes:
remote.fetch('--tags')
Error message:
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
cmdline: git fetch -v -- origin --tags
stderr: 'fatal: couldn't find remote ref --tags'
Before:
Fetching the repository
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin [...]
After:
Fetching the repository
/usr/bin/git -c protocol.version=2 fetch --prune --progress --no-recurse-submodules origin [...]
2022-12-30 18:03:02 -08:00
Zach Borboa
6d91f62e88
Skip including release notes for cleanup pull requests
2022-12-08 18:45:48 -08:00
Zach Borboa
91c885076a
Exit earlier if any pull request is missing semantic version change type
2022-12-08 18:36:45 -08:00
Zach Borboa
9195bcde44
Clarify make release message
2022-09-30 05:31:36 -07:00
Zach Borboa
a7ada9308c
Run release earlier
2022-09-29 05:14:47 -07:00
Zach Borboa
7bbb9e7e0d
Rename action step name and script name
2022-09-23 21:08:44 -07:00
Zach Borboa
a021bc128a
Remove unused const
2022-09-23 21:04:00 -07:00
Zach Borboa
15e5e80ac6
Display tzinfo before and after updating it
2022-09-23 21:01:33 -07:00
Zach Borboa
1d402bff2d
Publish release when created
2022-09-23 20:55:05 -07:00
Zach Borboa
48c5199d7f
Add timezone to today datetime
2022-09-23 20:25:18 -07:00
Zach Borboa
54c87b9219
Push local changes
2022-09-23 18:52:11 -07:00
Zach Borboa
d594d015e8
Enable tag and release
2022-09-23 18:47:29 -07:00
Zach Borboa
61bcdd9b9d
Use convenience function to create tag and release
2022-09-23 18:43:10 -07:00
Zach Borboa
36440cc89f
Push tags
2022-09-23 17:41:20 -07:00
Zach Borboa
46a882ab75
Add dry-run push
2022-09-23 17:25:17 -07:00
Zach Borboa
b3fc9b97cb
Simulate pushing changes
2022-09-23 17:14:13 -07:00
Zach Borboa
fa1b6bba7b
Create tag
2022-09-23 16:53:40 -07:00
Zach Borboa
92fdcf6bf7
Display diff after commit
2022-09-23 16:37:20 -07:00
Zach Borboa
f41d7a40e3
Display log after commit
2022-09-23 16:15:01 -07:00
Zach Borboa
f25dbdd149
Stop update changelog routine when no merged pull requests found
2022-09-23 16:07:10 -07:00
Zach Borboa
24e9d9cb9c
Commit changes
2022-09-23 15:43:18 -07:00
Zach Borboa
ab25a92024
Display diff with color
2022-09-23 15:31:54 -07:00
Zach Borboa
451d8d5c90
Display diff of staged changes
2022-09-23 15:21:34 -07:00
Zach Borboa
ba4f8e6257
Stage changed files for commit
2022-09-23 15:17:32 -07:00
Zach Borboa
c655b7e74b
Update script path
2022-09-23 15:07:51 -07:00
Zach Borboa
b8ae0dcebe
Display stdout + stderr
2022-09-23 15:03:23 -07:00
Zach Borboa
9458b45631
Run script to bump version based on highest semantic version
2022-09-23 15:00:51 -07:00
Zach Borboa
3d59f2f647
Return json response when bumping version number
2022-09-23 14:44:34 -07:00
Zach Borboa
05a8133a66
Improve portability of scripts
...
Error message:
$ ./scripts/bump_major_version.php
-bash: ./scripts/bump_major_version.php: /usr/bin/php: bad interpreter: No such file or directory
2022-09-23 14:37:18 -07:00
Zach Borboa
8b8ce9c4d3
Determine highest semantic version
2022-09-23 14:31:37 -07:00
Zach Borboa
50990b56a6
Raise error if any pull request is missing a semantic version change type
2022-09-23 14:08:44 -07:00
Zach Borboa
b70f00da6f
Fetch tags
2022-09-23 13:58:45 -07:00
Zach Borboa
ba74b5534c
Display tags before and after fetch
2022-09-23 13:54:29 -07:00
Zach Borboa
4072e32185
Sort tags by version
2022-09-23 13:46:46 -07:00
Zach Borboa
ff424b2a69
Sort tags
2022-09-23 12:53:03 -07:00
Zach Borboa
1598cab251
Make recent pull request limit configurable
2022-09-23 12:50:35 -07:00
Zach Borboa
a17f79fb44
Fetch tags
2022-09-23 12:46:30 -07:00
Zach Borboa
52ec16902f
Generate changelog entries for release
2022-09-23 12:21:10 -07:00
Zach Borboa
8363b24ad8
Add workflow and script for updating changelog
2022-09-22 19:23:39 -07:00
Zach Borboa
06124e84ed
Simplify updating readme methods
2021-08-07 19:50:52 -04:00
Zach Borboa
6ceabf7293
Clean up
2021-07-26 00:35:01 -04:00
Zach Borboa
161f9aea63
Use short array syntax
2021-03-18 01:15:52 -04:00
Zach Borboa
b7a69a5ca5
Remove old migration script
2021-03-17 22:56:28 -04:00
Zach Borboa
cf4082d03e
Use unique variables with list() to prevent unexpected results.
...
PHP Compatibility check for PHP_CodeSniffer error message:
FILE: php-curl-class/scripts/bump_major_version.php
---------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------------------
6 | ERROR | list() will assign variable from left-to-right since PHP 7.0. Ensure all variables in list() are unique to prevent unexpected
| | results. (PHPCompatibility.Lists.AssignmentOrder.Affected)
---------------------------------------------------------------------------------------------------------------------------------------------
2021-03-05 09:16:56 -05:00
Zach Borboa
bd9d570af4
Display version bump when script is run
2019-04-29 00:13:12 -07:00
Zach Borboa
668acf1e08
Allow running readme update script outside script directory
2018-06-21 23:56:14 -07:00
Zach Borboa
50927dd294
Rename callbacks
2018-01-25 20:29:55 -08:00
Zach Borboa
a470ce9cf1
Clean up
2017-10-12 23:27:17 -07:00
Zach Borboa
5706ad7723
Fix here-document warning.
...
Fixes "warning: here-document at line XX delimited by end-of-file (wanted `EOF')".
2017-04-29 00:27:12 -07:00