- Improved support for alternate primary branch names
- Fix timezone handling issue.
- Fix bug in
publish
task of DockerReleaseTask in previous release.
- Add
--skip-restore
to samus build to skip restoring Git repository. Useful with Docker build support in order to inspect output of a built release. - Add
build/changelog-rotate
command for changelog rotation. - Add
inspect
andclean
Rake tasks forDockerReleaseTask
to inspect and remove a previously built release respectively.
- Fix bug that breaks DockerReleaseTask if .gitconfig or .samus configs are not present on the system.
- Automatically build Dockerfile.samus as tempfile if it is not present in
the repo when using
Samus::Rake::DockerReleaseTask
. This docker image copies all credentials in so it can be run directly without mounts. - Add
mount_samus_config
option (defaults tofalse
) toDockerReleaseTask
options to allow Docker image to mount the Samus configuration directory from the host when publishing the image. To override the config directory, specify theSAMUS_CONFIG_PATH
environment variable to thepublish
task. - Add
extra_config
toDockerReleaseTask
to allow extra files to be copied into the/root
directory of the build image. The value should be a hash of src -> dest filenames to copy.
- Add
Samus::Rake::ReleaseTask
andSamus::Rake::DockerReleaseTask
to generate helpful Rake tasks to generate releases. Example:
require 'samus'
Samus::Rake::ReleaseTask.new do |t|
t.git_pull_after_release = true # default is true
t.zipfile = "customzip.tar.gz" # default release-vX.Y.Z.tar.gz
t.buildfile = "samus.json" # default is samus.json
end
- Add
lsegal/samus:build
Dockerfile to simplify creation of build docker images.
- Add
chmod-files
command to fix file permissions on globs.
- Fix bug in
publish/github-release
command due to invalid tag handling.
- Add
build/ruby-bundle
command to run Bundler commands like install. - Update
build/rake-task
tobundle exec
when a Gemfile is present. - Update
lsegal/samus
Docker image to contain Bundler 1.17.2. - Update
build/changelog-parse
to support different formatting. - Update
build/git-merge
to no longer pull from remote since credentials are not supported at build time.
- Add
--docker
support to build and publish which runs Samus inside a pre-built container with all default dependencies. You can provide--docker-image image-name
to use a different image from the defaultlsegal/samus
container. - Fix
changelog-parse
command.
- Some more fixes for Windows compatibility when using
archive-git-full
.
- Add support for Windows. This caused a backwards incompatible change where environment variables are now UPPERCASED by default. In general this should have no effect if you rely only on built-in scripts.
- Report an error if credentials cannot be parsed.
- Add support for credentials for git-push. Add a credentials file with
an RSA key in the format
Key: ...RSA KEY HERE...
. - Add experimental support for publishing via
lsegal/samus
Docker image. Usesamus publish --docker project-vX.Y.Z.tar.gz
to perform commands in a Docker image with the base support for all default publish commands. You must have Docker installed to use this flag.
- Add
build/make-task
command to run a make task.
- Add
build/changelog-parse
command to build ChangeLog from latest entries.
- Remove date from title in
publish/github-release
- Add
publish/github-release
command.
- Fix issue where repository would not reset when using
samus-build
command.