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
GitHub
github.com › softprops › action-gh-release
GitHub - softprops/action-gh-release: 📦 GitHub Action for creating GitHub Releases
4 weeks ago - On an immutable-release repository, use draft: true for prereleases that upload assets, then publish that draft later and subscribe downstream workflows to release.published. 💡 files is glob-based, so literal filenames that contain glob metacharacters such as [ or ] must be escaped in the pattern. 💡 GitHub may normalize or rewrite uploaded asset filenames that contain special or non-ASCII characters. This action uploads the requested file, but it cannot force the final asset name that GitHub stores or returns from the Releases API.
Starred by 5.5K users
Forked by 615 users
Languages TypeScript 99.8% | JavaScript 0.2%
Videos
13:43
Automate GitHub Releases with GitHub Actions | Full Example - YouTube
06:08
How to Create a Release on Github - YouTube
14:41
How to use tags to create a release in GitHub with Actions - YouTube
11:16
Upload Assets to GitHub Releases using GitHub Actions - YouTube
43:26
Automatic Deployment With Github Actions - 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: Triggers: Events that initiate a workflow (e.g., pushes to specific branches). Jobs: Units of work within a workflow. Steps: Individual actions performed within a job.
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 - Specifying a release-type configuration is the most straight-forward configuration option, but allows for no further customization. For advanced configuration options, see the Advanced Configuration section · 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.
Starred by 13 users
Forked by 8 users
Languages TypeScript
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... see: ... index.js attached under Assets To push your Action to the Marketplace, click Edit release and follow the Publish to Marketplace prompts:...
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 }}
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
GitHub
github.com › ncipollo › release-action
GitHub - ncipollo/release-action: An action which manages a github release · GitHub
You must provide a tag either via the action input or the git ref (i.e push / create a tag). If you do not provide a tag the action will fail. If the tag of the release you are creating does not yet exist, you should set both the tag and commit ...
Starred by 1.7K users
Forked by 233 users
Languages TypeScript
YouTube
youtube.com › watch
Automated GitHub release with Release Please GitHub action - YouTube
In this video, I’ll walk you through the process of automating GitHub releases using the "Release Please" GitHub Action. Automating your release process can ...
Published May 28, 2024
GitHub
github.com › actions › create-release › releases
Releases · actions/create-release
March 4, 2021 - ... There was an error while loading. Please reload this page. ... This release adds the ability to specify an owner/repo in your inputs to have an action run create releases on a different repository.
Author actions
Thomas Stringer
trstringer.com › github-actions-create-release-upload-artifacts
Create a Release and Upload Artifacts with GitHub Actions | Thomas Stringer
January 17, 2021 - Then likewise you set the asset_path to the artifact to upload, and asset_name to what you want it named in the release. Finally you set the asset_content_type appropriately. In my case, this is application/gzip for the tarballs and application/zip for the zip file. And there it is! With these steps in your GitHub Action you can have a similar continuous delivery experience!