Skip to content

Commit

Permalink
unified changelog and release system
Browse files Browse the repository at this point in the history
  • Loading branch information
TobyDrane committed Jul 5, 2023
1 parent 96a1d30 commit e6c0fed
Show file tree
Hide file tree
Showing 28 changed files with 74 additions and 1,024 deletions.
Empty file added CHANGELOG.md
Empty file.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Number 10 Downing Street
Copyright (c) 2022 Number 10 Downing Street

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,11 @@ ui-zip-and-release: ## Zip and release prod static ui site
@cd ui/; $(MAKE) zip-contents tag=${tag}; $(MAKE) upload-to-release-prod tag=${tag}

##
release:
@git checkout ${commit}
@git tag -a "${version}" -m "Release tag for version ${version}"
@git checkout -
@git push origin ${version}
@python get_latest_release_changelog.py
@gh release create ${version} -F latest_release_changelog.md
@rm -rf latest_release_changelog.md
File renamed without changes.
21 changes: 0 additions & 21 deletions api/LICENSE

This file was deleted.

10 changes: 0 additions & 10 deletions api/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,6 @@ check-app-is-running:
@aws ecs wait services-stable --region $(AWS_REGION) --services $(ECS_SERVICE) --cluster $(ECS_CLUSTER)
@echo "finished waiting for services to be stable"

# Release -------------------------
release:
@git checkout ${commit}
@git tag -a "${version}" -m "Release tag for version ${version}"
@git checkout -
@git push origin ${version}
@./batect generate_latest_changelog
@gh release create ${version} -F latest_release_changelog.md
@rm -rf latest_release_changelog.md

tag-release-image: ## Tag the image with the tag name
@docker tag rapid-api-service-image:latest $(PUBLIC_URI)/$(PUBLIC_IMAGE):${GITHUB_REF_NAME}

Expand Down
310 changes: 0 additions & 310 deletions api/changelog.md

This file was deleted.

17 changes: 0 additions & 17 deletions api/changelog_release_template.md

This file was deleted.

Loading

0 comments on commit e6c0fed

Please sign in to comment.