Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CD Workflow to archive previous releases #971

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

RichDom2185
Copy link
Member

Closes #941.

Changes:

  • Use github.ref_name instead of unnecessary rlespinasse/github-slug-action
  • Auto-generate release tags and titles based on the current time
  • Generate changelog from the last release from the same branch
  • Archive previous releases using the autogenerated tag name

@RichDom2185 RichDom2185 self-assigned this Jul 13, 2023
@coveralls
Copy link

coveralls commented Jul 13, 2023

Coverage Status

coverage: 95.295%. remained the same
when pulling abe896a on RichDom2185:archive-previous-releases
into 18a71d3 on source-academy:master.

@RichDom2185
Copy link
Member Author

@YaleChen299 the issue now is:

  • The releases are tagged with the time the workflow was run, not latest-[branch_name]
  • While the latest-[branch_name] tag exists and points to the same commit, it does not point to the release,
  • So the uploaded asset can't be found when querying from latest-[branch_name]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Archive previous deployment releases
2 participants