PkgDev provides tools for Julia package developers. The package is currently being rewritten for Julia 1.x and only for brave early adopters.
Tag a new release for package package_name. The package you want to tag must be deved in the current Julia environment. You pass the package name package_name as a String. The git commit that is the HEAD in the package folder will form the basis for the version to be tagged.
If you don't specify a version, then the version field in the Project.toml must have the format x.y.z-DEV, and the command will tag version x.y.z as the next release. Alternatively you can specify one of :major, :minor or :patch for the version parameter. In that case PkgDev.tag will increase that part of the version number by 1 and tag that version. Finally, you can also specify a full VersionNumber as the value for the version parameter, in which case that version will be tagged.
The only situation where you would specify a value for registry is when you want to register a new package for the first time in a registry that is not General. In all other situations, PkgDev.tag will automatically figure out in which registry your package is registered. When you do pass a value for registry, it should simply be the short name of a registry that is one of the registries your local system is connected with.
If you want to add custom release notes for TagBot, do so with the release_notes keyword.
PkgDev.tag runs through the following process when it tags a new version:
release-x.y.z.Project.toml and commit that change on the release branch.Project.toml to x.y.z+1-DEV and commit that change also to the release branch.
4a. For packages in the General registry: add a comment that triggers Registrator.
4b. For packages in other registries: Open a pull request against the registry that tags the first new commit on the release branch as a new version x.y.z.master.If you have TagBot installed for your package with the branches: true setting, it will automatically merge the release-x.y.z branch into master once the pull request for the registry has been merged.
290 followers · starred Sep 2020
Julia
100.0%
PkgDev provides tools for Julia package developers. The package is currently being rewritten for Julia 1.x and only for brave early adopters.
Tag a new release for package package_name. The package you want to tag must be deved in the current Julia environment. You pass the package name package_name as a String. The git commit that is the HEAD in the package folder will form the basis for the version to be tagged.
If you don't specify a version, then the version field in the Project.toml must have the format x.y.z-DEV, and the command will tag version x.y.z as the next release. Alternatively you can specify one of :major, :minor or :patch for the version parameter. In that case PkgDev.tag will increase that part of the version number by 1 and tag that version. Finally, you can also specify a full VersionNumber as the value for the version parameter, in which case that version will be tagged.
The only situation where you would specify a value for registry is when you want to register a new package for the first time in a registry that is not General. In all other situations, PkgDev.tag will automatically figure out in which registry your package is registered. When you do pass a value for registry, it should simply be the short name of a registry that is one of the registries your local system is connected with.
If you want to add custom release notes for TagBot, do so with the release_notes keyword.
PkgDev.tag runs through the following process when it tags a new version:
release-x.y.z.Project.toml and commit that change on the release branch.Project.toml to x.y.z+1-DEV and commit that change also to the release branch.
4a. For packages in the General registry: add a comment that triggers Registrator.
4b. For packages in other registries: Open a pull request against the registry that tags the first new commit on the release branch as a new version x.y.z.master.If you have TagBot installed for your package with the branches: true setting, it will automatically merge the release-x.y.z branch into master once the pull request for the registry has been merged.
290 followers · starred Sep 2020
Julia
100.0%