@darren-valent/cdk-ec2-key-pair
Version:
CDK Construct for managing EC2 key pairs
33 lines (22 loc) • 443 B
Plain Text
SHELL := /bin/bash
VERSION := $(shell cat VERSION)
build:
@npm run build
package: build
@npm run package
clean:
@rm -rf node_modules package-lock.json
install: clean
@npm i
test: build
npm run test
test-update:
npm run test -- -u
tag:
@git tag -a "v$(VERSION)" -m 'Creates tag "v$(VERSION)"'
@git push --tags
untag:
@git push --delete origin "v$(VERSION)"
@git tag --delete "v$(VERSION)"
release: tag
re-release: untag tag