mirror of
https://github.com/anchore/syft.git
synced 2026-02-12 10:36:45 +01:00
add release notification
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
parent
8b81c87d18
commit
2844b9878f
16
.github/workflows/release.yaml
vendored
16
.github/workflows/release.yaml
vendored
@ -123,14 +123,14 @@ jobs:
|
|||||||
AWS_ACCESS_KEY_ID: ${{ secrets.TOOLBOX_AWS_ACCESS_KEY_ID }}
|
AWS_ACCESS_KEY_ID: ${{ secrets.TOOLBOX_AWS_ACCESS_KEY_ID }}
|
||||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.TOOLBOX_AWS_SECRET_ACCESS_KEY }}
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.TOOLBOX_AWS_SECRET_ACCESS_KEY }}
|
||||||
|
|
||||||
# - uses: 8398a7/action-slack@v3
|
- uses: 8398a7/action-slack@v3
|
||||||
# with:
|
with:
|
||||||
# status: ${{ job.status }}
|
status: ${{ job.status }}
|
||||||
# fields: repo,workflow,action,eventName
|
fields: repo,workflow,action,eventName
|
||||||
# text: "A new Syft release is ready to be (manually) published from https://github.com/anchore/syft/releases"
|
text: "A new Syft release is ready to be manually published: https://github.com/anchore/syft/releases"
|
||||||
# env:
|
env:
|
||||||
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_TOOLBOX_WEBHOOK_URL }}
|
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_TOOLBOX_WEBHOOK_URL }}
|
||||||
# if: ${{ success() }}
|
if: ${{ success() }}
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
5
Makefile
5
Makefile
@ -244,6 +244,9 @@ changelog-release:
|
|||||||
--no-issues-wo-labels \
|
--no-issues-wo-labels \
|
||||||
--since-tag $(SECOND_TO_LAST_TAG)
|
--since-tag $(SECOND_TO_LAST_TAG)
|
||||||
|
|
||||||
|
@printf '\n$(BOLD)$(CYAN)Release $(VERSION) Changelog$(RESET)\n\n'
|
||||||
|
@cat CHANGELOG.md
|
||||||
|
|
||||||
.PHONY: changelog-unreleased
|
.PHONY: changelog-unreleased
|
||||||
changelog-unreleased: ## show the current changelog that will be produced on the next release (note: requires GITHUB_TOKEN set)
|
changelog-unreleased: ## show the current changelog that will be produced on the next release (note: requires GITHUB_TOKEN set)
|
||||||
@docker run -it --rm \
|
@docker run -it --rm \
|
||||||
@ -259,7 +262,7 @@ changelog-unreleased: ## show the current changelog that will be produced on the
|
|||||||
@docker run -it --rm \
|
@docker run -it --rm \
|
||||||
-v $(shell pwd)/CHANGELOG.md:/CHANGELOG.md \
|
-v $(shell pwd)/CHANGELOG.md:/CHANGELOG.md \
|
||||||
rawkode/mdv \
|
rawkode/mdv \
|
||||||
-t 696.6153 \
|
-t 748.5989 \
|
||||||
/CHANGELOG.md
|
/CHANGELOG.md
|
||||||
|
|
||||||
.PHONY: release
|
.PHONY: release
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user