I wrote some helper bash scripts that will do some nice things to help with publishing packages to atmosphere. In particular, the
publish-tool.sh has an automatic mode that will attempt to correct any errors that occur in the publishing process and try to publish again. This is mainly meant for if you have many packages that work together and you want to publish them all, as wildcard expansion works. For example, if I had a dozen packages I wanted to publish all at once, rather than doing it manually, I could use this tool as:
$ ./publish-tool.sh -a /path/to/packages/*
There is also a
version-tool.sh that you can use to bump major, minor, or patch version numbers. This tool is used in
publish-tool.sh automatic mode if the version in question has already been published to automatically increment the patch number and try again.
In the future, I intend to add the following functionality:
- Automatically check to see if the package is using the most recent versions of the packages specified with
api.use. I think this could be accomplished by creating a test meteor application, running
meteor add PACKAGEfor each package specified with
api.use, then checking the version numbers against what exists in that test app after a
- Any other features that you think might be useful?
Let me know what you think!