Skip to content

Usage

Setup

To use this action, simple place the following file in your .github/workflows/ folder.

.github/workflows/draft-release.yml
name: ๐Ÿ“ฆ Release
on:
  milestone:
    types: [closed]
jobs:
  release:
    name: ๐Ÿ“ Draft Release
    runs-on: ubuntu-latest
    steps:
      - name: ๐Ÿ“ฐ Checkout
        uses: actions/checkout@v3

      - name: ๐Ÿ“ฆ Create draft release from milestone
        uses: quaternionmedia/milestones@main

Create milestone

Create a new GitHub milestone, where the first word is the version tag name for the release you will be publishing.

For example: v0.1.0 Test ๐Ÿงช -> v0.1.0

Naming conventions

The milestone name can contain emojis and other markdown characters, but the tag name must only contain alphanumeric symbols.

Close milestone

Close a GitHub milestone, then look in the "Releases" section of your repository. There should be a new draft at the top of the page with


Last update: 2023-04-02
Created: 2023-04-02