This repository has been archived on 2024-03-03. You can view files and clone it, but cannot push or open issues or pull requests.
clear-docker-images/Makefile

11 lines
359 B
Makefile

.PHONY: bump-version
bump-version:
@type sd > /dev/null
@echo "Bump version to \"${NEW_VERSION}\""
@sd "version = \"${VERSION}\"" "version = \"${NEW_VERSION}\"" Cargo.toml
@sd "VERSION=${VERSION}" "VERSION=${NEW_VERSION}" .env
@git add .
@git commit -m "bump v${NEW_VERSION}"
@git tag -m "bump v${NEW_VERSION}" v${NEW_VERSION}
@git push --follow-tags