upgraded to settings_yaml 6.0
- dart 3.x compatability
- beta version for Dart 3.x compatability
- Change the order of the version menu so the option 'keep current' is always the first option. In this way the two most common options are in fixed positions.
- upgraded dependencies.
- upgraded package dependencies to latest compatible versions.
- removed version.g.dart from the barrel file as it was polluting the name space of other dcli apps that use the pub_release api and have their own dcli version.
- Upgraded to dcli 1.33.0 and pubspec2 2.4.1 to fix a bug where we were clearing out the executable script name in the pubspec.yaml.
- upgraded dependencies and sdk requirements to at least 2.17.
- We now check for a pubrelease.multi.yaml and if it exists we expect the user to pass the multi command or the --no-multi switch.
- Added --no-multi flag to suppress doing a multi build.
- upgraded to the latest pubspec package to fix a problem with platforms being written out with a null value.
- Upgraded to pubspec 2.3.0 to fix a problem with platforms. The pubspec code was incorrectly adding a 'null' after the platform name so 'linx:' became 'linux: null'
Fixed a bug in the dependency version updates for the multi command. It was scaning from the wrong root dir for deps. We now use the multi settings file to guide the update process.
- added support for updating the dependency version no. when doing a multi release
- ENH: added support for pre-release versioning.
- Applied lint_hard
- Added documentation key to pubspec.yaml. lint cleanups.
- corrected github_release to use the same settings file settings.yaml.
- fixed some deprecation warnings.
- Fixed a bug on first run if a changelog.md file didn't already exists. We now created it.
upgraded to dcli 1.5.3 changed hooks to explicity run dart for .dart hooks until we resolve dcli problems with the dart file association under windows.
upgraded to dcli 1.5.2 remove the units tests dependency on having dcli installed. Moved to new version of settings.yaml to fix bugs with empty content.
Missed on of the invalid array refernces.
Added overrides back in. upgraded to dcli 1.5.2 Fixed a bug in the git procelain parsing.
Added logic to ignore pre and post hooks which are not compatible with the current platform. e.g. .sh scripts on windows
update the dcli version no. as we had left it too wide. We now run critical test with verbose logging if pub_release was called with the verbose flag.
Exported the multisettings class as part of the public api so the list of depdencis can be shared by others.
- change DartScript.current to self as current is now deprecated.
- Added logic to suppress the running of critical_test if no test directory exits.
- Fixed a bug where we crash if the .gitignore file doesn't exist.
- modified to use dart pub as pub is going away.
- Add getting started to readme and link to docs
- Added option to suppress git operations --no-git
- Added logic to suppress
dart formatif a directory is non existant or empty.
First working version of multi.
Now supports running unit tests as part of the release process via critical_test.
Changed exit codes from -1 to 1 as this seems more standard.
Added --dry-run flag.
upgraded to dcli 1.0
Change the change log editing so that the user gets to see the enitre change log. This is particullarly useful if a release fails an you want to re-edit the release notes. Currently we just append the release notes a second time which is not desirable.
Released 6.1.0 improvement to log messags. Fixed incorrect line argument to dart format. Added missing logic for line length.
improvement to log messags. Fixed incorrect line argument to dart format. Added missing logic for line length.
Added list of extensions to ignore if found in the hook directory. Now allows any type of executable to be used as a hook. Prints an error if invalid command line arguments are passed. Added missig implementation for controlling the formatters line length.
upgraded final libraries to nndb versions. upgraded to latest version of dcli
Upgraded to latest dcli.
Upgraded to nnbd.
fixed string formatting problem in formatCode Added logic to commit formatted fils. formatting. We commit any files changed by dartfmt.
Cleaned up name/version on startup
pub_relesae was printing the wrong app name on start up.
Fixed release names.
fixed latest release name.
Changed the 'latest' naming convention from 'latest-' to 'latest.' as git hub saw the '-' as meaning the tag was a pre-release. Now prints version no. when starting.
Changed code to force the user to commit before doing a release. This allows us to automatically push the committed version changes. Without this the assets attached to git hub have the old version no. Staged the files we modified so we can commit them. quoted the message so it survies arg parsing.
Fixed a bug in the deleteTag method as it was using the wrong path to the tags. renamed getByTagname to getReleaseByTagname This bug was causing the 'latest' tag to not be updated. removed sperious } in string. released 4.3.0 formatting
We can once again upload assets as part of a release. Fixed a bug where the mimetype was set to null. The result was a crash in the http_impl class.
Additional verbose messages. Fixed a bug under windows where we appended .exe.exe to the mimeType.
Added back in logic to release assets as it now seems to be working? upgraded to latests dcli which has a changed method signature. Now pulling credentials from settings.yaml upgraded to latest dcli version. restored test code to working state. renamed to simple_github.dart
moved from using pub to dart pub.
Added hook to active lastest version of pub release locally after we do a release. removed message re attaching assets as we are not currently doing that.
Removed ability to add executablles as assets to git release until issue https://github.com/dart-lang/sdk/issues/44578 is fixed.
Updated dcli version to 0.40.0
Removed getPubSpec. You should use findPubspec followed by Pubspec.fromFile
removed the --suffix option as we were mis-using it. We had been using the suffix to indicate os version but github sees it as a 'pre-release' indicator. Going forward the assests should all be attached to a single release and the asset names should indicate the platform. Fixed bugs around the recreation of the 'latests' tag Fixed bug where we were not closing the http connection.
implemented the lint package. Fixed a bug which caused no hooks to be returned.
Fixed hook messages. Fixed bugs in the git detection and push of tags. exposed Git as part of the public api.
Fixed a bug where pub_release only search the dart package root for .git. The dart package could be part of a larger project in which case we need to search up the tree for .git.
tweaks to the release process.
Added new addAsset method to make it easy to publish an asset.
added note about hook scripts. upgraded package versions and added example.md.
pub updated. improved the doco on automating git releases.
reduced min dart sdk to 2.7 so would work on a pi.
upgraded to dcli 0.34.0
corrected the filename for settings.
ignored settings.yaml and add tool directory. moved credentials into settings.yaml.
upgraded to dcli 0.33.6
upgraded to dcli 0.32.0
upgraded to dcli 0.30.0
Upgraded to dcli 0.29.2
upgraded to dcli 0.28.0
FIX: a bug was causing the code to fail to update the latest release. We are now explicitly deleting the tag and then recreating it.
Final test of release hooks. No code changes.
changed hooks to hook to conform to dart policy of singular form for directory names. Made the suffix optional. Improved the readme to include instructions on creating release tags in github.
Used 2.1.0 to create a release so that it generates the github release tag an assets.
pub_relase can no create a release in github and add each exectable listed in the pubspec.yaml as an asset attached to the release. update workflow notes. Added back in the assest/release tag as github.dart is almost ready. Upgraded to dcli 0.27
exported pub_semver so users have access to the Version class.
Small fix as it was displaying the old version no.rather than the new one.
Cleaned up the Version api. Added pedeantic.
upgraded to dcli 0.24
added the dart static analyzer to the set of tasks performed. cleaned up the github_release and workflow apps. Renamed them and added additional doc and examples of their usage. color coded hook messages. The git_release exec has been disabled until we get the new version of github.dart.
color coded hook messages. upgraded to dcli.
Fixed a bug where the pre-release hook path was buggered up. Fixed a message. ignored credentials. Fix git_release and create_tag so they will work from the root dir of any project. Widened the dcli version constraints as required by pub.dev
Added support for pre/post release hooks. stand alone cli app to create a git hub tag. Added settings_yaml dependancy as no longer part of dcli.
upgraded to dcli. Added new exe git_release which creates a git release tag and attaches each executable as an asset.
made git_hub a dev dependency.
Upgraded to dshell 1.11.0 and fixed breaking changes.
Added missing space in message.
upgraded packages. Fixed bug where when selecting a custom version no. we would ask for the version twice.
no longer asking a user to create the git tag.
moved the option to keep the current version down the list as it is rarely used. released 1.0.6
Was displaying the old version when asking the usr to confirm the version. ignored bash history. Added option to set the version and ask no questions.
Add option to set the version no. from the cli
removed the version message as it was just confusing when you are looking to update the actual packages version. Added a git pull at the start of the process.
Added version to start. Had the exists logic backwards when creating a CHANGLOG.md
we now create the CHANGELOG.md file if it doesn't exist.
Fixed a bug when detecting git. Change message to only recommend commiting as we will do the push.
Fixed a bug where it failed to detect that git was being used. Fixed a bug where it throws an error if a tag doesn't already exist.
released 0.1.4 Release of version 0.1.3 Update .gitignore Merge pull request #1 from bsutton/add-license-1 Create LICENSE initial commit
Fixed the change log :) Added new option to keep the current version.
Added a new option to keep the current version.
Added a missing 'executeables' statement from pubspec.yaml
First release of pub_release
First release of pub_release
My first release
My first release.
- Initial version, created by Stagehand