GitHub
github.com › marketplace › actions › create-a-release-in-a-github-action
Create a Release in a GitHub Action - GitHub Marketplace
This GitHub Action (written in JavaScript) wraps the GitHub Release API, specifically the Create a Release endpoint, to allow you to leverage GitHub Actions to create releases.
GitHub
github.com › actions › create-release
GitHub - actions/create-release: An Action to create releases via the GitHub Release API · GitHub
March 4, 2021 - This GitHub Action (written in JavaScript) wraps the GitHub Release API, specifically the Create a Release endpoint, to allow you to leverage GitHub Actions to create releases.
Starred by 1.4K users
Forked by 328 users
Languages JavaScript
Videos
Tip 9: Creating a GitHub release in a GitHub Actions workflow
09:59
How to use GitHub Actions & Release-It to Easily Release Your Code ...
06:08
How to Create a Release on Github - YouTube
01:02:41
Custom GitHub Actions and Release Workflows - YouTube
13:43
Automate GitHub Releases with GitHub Actions | Full Example - YouTube
13:38
Automated GitHub release with Release Please GitHub action - YouTube
DEV Community
dev.to › ayoub3bidi › quick-tutorial-how-to-add-a-release-github-workflow-56ib
Quick tutorial: How to add a release GitHub workflow - DEV Community
March 2, 2024 - GitHub Repository: You’ll need a GitHub repository where you want to set up the release workflow. Basic YAML Knowledge: We’ll be writing our workflow in YAML format, so a basic understanding of YAML syntax will be helpful. GitHub Actions workflows consist of triggers, jobs, and steps:
GitHub
docs.github.com › actions › creating-actions › releasing-and-maintaining-actions
Releasing and maintaining actions - GitHub Docs
After you create an action, you'll want to continue releasing new features while working with community contributions. This tutorial describes an example process you can follow to release and maintain actions in open source. The example: Leverages GitHub Actions for continuous integration, dependency updates, release management, and task automation.
GitHub
github.com › google-github-actions › release-please-action
GitHub - google-github-actions/release-please-action: Archived version of release-please · GitHub
August 15, 2024 - Merge the above action into your repository and make sure new commits follow the Conventional Commits convention, release-please will start creating Release PRs for you. For any advanced configuration, please set up a manifest config and then configure this action as follows: #...(same as above) steps: - uses: google-github-actions/release-please-action@v4 with: # this assumes that you have created a personal access token # (PAT) and configured it as a GitHub action secret named # `MY_RELEASE_PLEASE_TOKEN` (this secret name is not important).
Starred by 13 users
Forked by 8 users
Languages TypeScript
Graphite
graphite.com › guides › how-to-automate-tagging-and-release-workflows-in-github
How to automate tagging and release workflows in GitHub
Create a new GitHub Actions workflow file in your repository under .github/workflows, for example, tagging.yml. Define the workflow trigger. For example, trigger on push (a merge will also trigger a push event) to the main branch: ... Add steps to create a tag. You can use the Git CLI or other actions available in the marketplace: ... This script configures git, creates a tag based on the run number of the workflow, and pushes it back to the repository. Once a tag is created, you can then automate the release process:
GitHub
github.com › marketplace › actions › create-github-release
Create GitHub Release · Actions · GitHub Marketplace · GitHub
on: push: branches: - main paths: - '**/RELEASE' pull_request: types: [opened, synchronize] branches: - main paths: - '**/RELEASE' jobs: gh-release: runs-on: ubuntu-latest permissions: contents: write # Required to create a GitHub release and tag, as GITHUB_TOKEN is read-only by default. pull-requests: write # Required to comment the release note on the pull request. steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - uses: pipe-cd/actions-gh-release@v2.3.4 with: release_file: '**/RELEASE' token: ${{ secrets.GITHUB_TOKEN }}
GitHub
github.com › softprops › action-gh-release
GitHub - softprops/action-gh-release: 📦 GitHub Action for creating GitHub Releases
3 weeks ago - This action supports loading release notes from a path in your repository's build to allow for the flexibility of using any changelog generator for your releases, including a human 👩💻 · name: Main on: push jobs: build: runs-on: ...
Starred by 5.5K users
Forked by 616 users
Languages TypeScript 99.8% | JavaScript 0.2%
GitHub
github.com › googleapis › release-please-action
GitHub - googleapis/release-please-action: automated releases based on conventional commits · GitHub
Create a .github/workflows/release-please.yml file with these contents: on: push: branches: - main permissions: contents: write issues: write pull-requests: write name: release-please jobs: release-please: runs-on: ubuntu-latest steps: - uses: googleapis/release-please-action@v4 with: # this assumes that you have created a personal access token # (PAT) and configured it as a GitHub action secret named # `MY_RELEASE_PLEASE_TOKEN` (this secret name is not important).
Starred by 2.4K users
Forked by 315 users
Languages TypeScript
GitHub
github.com › ncipollo › release-action
GitHub - ncipollo/release-action: An action which manages a github release · GitHub
An action which manages a github release. Contribute to ncipollo/release-action development by creating an account on GitHub.
Starred by 1.7K users
Forked by 233 users
Languages TypeScript
GitHub
githubstatus.com
GitHub Status
Monitoring - The degradation affecting Actions and Pull Requests has been mitigated. We are monitoring to ensure stability.
KodeKloud Notes
notes.kodekloud.com › docs › GitHub-Actions-Certification › Custom-Actions › Create-GitHub-release-using-GitHub-Actions › page
Create GitHub release using GitHub Actions - KodeKloud
git add .github/workflows/auto... attached under Assets To push your Action to the Marketplace, click Edit release and follow the Publish to Marketplace prompts:...
Stackademic
blog.stackademic.com › triggering-the-github-actions-workflow-on-publishing-a-github-release-e43fc430f13b
Triggering the GitHub Actions Workflow on Publishing a GitHub Release | by Dhruvin Soni | Stackademic
March 6, 2024 - GitHub Actions is a continuous integration and continuous delivery (CI/CD) platform that allows developers to automate various tasks related to their software development workflows directly within the GitHub environment. With GitHub Actions, developers can define custom workflows using YAML syntax to specify the steps and conditions for executing tasks such as building, testing, deploying, and releasing software.
GitHub
docs.github.com › en › repositories › releasing-projects-on-github › managing-releases-in-a-repository
Managing releases in a repository - GitHub Docs
If you have enabled immutable releases for your repository, it's recommended to create releases as drafts first, attach all assets, and then publish. This ensures all assets are in place before the release becomes immutable. For more information, see Immutable releases. On GitHub, navigate to the main page of the repository.
Top answer 1 of 3
43
This can be done using the GitHub CLI and a run step. For example, a workflow that creates a release for any tag pushed to the GitHub hosted repository could look like this:
name: Create release
on:
push:
tags:
- v*
permissions:
contents: write
jobs:
release:
name: Release pushed tag
runs-on: ubuntu-24.04
steps:
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
run: |
gh release create "$tag" \
--repo="$GITHUB_REPOSITORY" \
--title="${GITHUB_REPOSITORY#*/} ${tag#v}" \
--generate-notes
2 of 3
4
FWIW, this action has worked well for me. I have it configured to add a release draft when a PR is merged into main and auto-generate notes for me. It seems pretty robust with a lot of options and is updated fairly recently (Feb 2nd, 2024 as of this post.)
https://github.com/marketplace/actions/release-drafter