Skip to content

0.4.0

Choose a tag to compare

@UlisesGascon UlisesGascon released this 24 Nov 09:10
· 15 commits to main since this release
b8fc7cc

What's Changed

Main Changes

  • Bump to 0.4.0 (b57441d)
  • Rewrite build_docker_simple_image (1d225eb)
  • Rewrite git_checkout_branch (a28950b)
  • Replace return for exit (a334ad8)

Breaking Changes

  • Replace return for exit (a334ad8)
  • This means that errors now will exit 1 the execution and not just return 1. 🔥 This can change the behaviour in your scripts.
  • Rewrite git_checkout_branch (a28950b)
    • Replaced git show-ref for git ls-remote
    • Use subshells to avoid change directory in the main script as side effect. This will break your scripts if you relayed in the (unexpected) Directory change
  • Rewrite build_docker_simple_image (1d225eb)
    • Throw error when image_name is not provided
    • Renamed internal variables
    • Added support for additional arguments
    • Added support for subpaths by using subshells. This will break your scripts if you relayed in the (unexpected) Directory change

build_docker_simple_image Usage example

build_docker_simple_image "project"
build_docker_simple_image "project" "Dockerfile-development"
build_docker_simple_image "project" "Dockerfile-development" "project/folder/path"
build_docker_simple_image "project" "Dockerfile" "project/folder/path" "--target final"

PRs

Changelog

Full Changelog: 0.3.0...0.4.0