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

🚧Create release workflow #75

Closed
16 tasks done
kselena opened this issue Apr 25, 2023 · 0 comments · Fixed by #85
Closed
16 tasks done

🚧Create release workflow #75

kselena opened this issue Apr 25, 2023 · 0 comments · Fixed by #85
Assignees
Labels
cicd CI/CD and workflow related work only high-priority High Priority preview Done while in preview

Comments

@kselena
Copy link
Member

kselena commented Apr 25, 2023

Complete The Item Below

  • I have updated the title without removing the 🚧 emoji.

Description

Create a release workflow to run some checks, build, run tests, and then perform a GitHub release.

Make sure to have the release set to the latest release.

Look here at the REST API docs for information.

This should be done using the GH Release (softprops) GitHub action from the marketplace.

After doing some digging, you cannot set releases to be the latest if it is draft or prerelease. So when the action is in preview, the release to the marketplace will have to be manual. Once we are v1.0, setting the releases are set to the latest by default and we will not have to manually set it to the marketplace.

Acceptance Criteria

  • Release workflow created
    • Only ran manually
    • Checks to make sure that it is being run on the master branch only
    • Pulls the version from the csproj file
    • Use the version to make sure a tag that matches the version does not already exist
    • Check that the release notes for the given version exist
    • Run build
    • Run tests
    • Perform GitHub release using GitHub action

ToDo Items

  • Change type labels added to this issue. Refer to the Change Type Labels section below.
  • Priority label added to this issue. Refer to the Priority Type Labels section below.
  • Issue linked to the correct project (if applicable).
  • Issue linked to the correct milestone (if applicable).
  • Draft pull request created and linked to this issue (only required with code changes).

Issue Dependencies

No response

Related Work

No response

Additional Information:

Change Type Labels

Change Type Label
Bug Fixes 🐛bug
Breaking Changes 🧨breaking changes
New Feature ✨new feature
CICD Changes ♻️cicd
Code Doc Changes 🗒️documentation/code
Product Doc Changes 📝documentation/product

Priority Type Labels

Priority Type Label
Low Priority low priority
Medium Priority medium priority
High Priority high priority

Code of Conduct

  • I agree to follow this project's Code of Conduct.
@kselena kselena added high-priority High Priority preview Done while in preview cicd CI/CD and workflow related work only labels Apr 25, 2023
@kselena kselena added this to the v1.0.0-preview.1 milestone Apr 25, 2023
@kselena kselena self-assigned this Apr 25, 2023
@CalvinWilkinson CalvinWilkinson modified the milestones: v1.0.0-preview.1, v1.0.0-preview.2 Apr 27, 2023
kselena added a commit that referenced this issue May 1, 2023
@kselena kselena linked a pull request May 1, 2023 that will close this issue
11 tasks
kselena added a commit that referenced this issue May 2, 2023
* Start work for issue #75

* ci: create release workflow

* pr-changes: fixed name and version of GH action

* pr-changes: fix error message

* wip

* ci: add cicd scripts

* ide: set up deno for vscode

* ci: rename file

* ide: add launch config for debugging the validate-tag script file

* ci: fix bug with version validation

* ci: fix issues with validate tag scripts

* ci: fix release workflow

* pr-changes: add single line to end of files

* release: create release notes for v1.0.0-preview.2

* ci: force status check runs

---------

Co-authored-by: Calvin Wilkinson <[email protected]>
@kselena kselena closed this as completed May 2, 2023
@CalvinWilkinson CalvinWilkinson removed this from the v1.0.0 milestone Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cicd CI/CD and workflow related work only high-priority High Priority preview Done while in preview
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants