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 will create a Release, as well as a release event, which could be handled by a third party service, or by GitHub Actions for additional uses, for example the @actions/upload-release-asset GitHub Action.
Starred by 1.4K users
Forked by 328 users
Languages JavaScript
Videos
13:43
Automate GitHub Releases with GitHub Actions | Full Example - YouTube
06:08
How to Create a Release on Github - YouTube
13:38
Automated GitHub release with Release Please GitHub action - YouTube
14:41
How to use tags to create a release in GitHub with Actions - YouTube
23:39
Automate your GitHub Actions Releases (with Semantic Release)! ...
09:59
How to use GitHub Actions & Release-It to Easily Release Your Code ...
GitHub
github.com › softprops › action-gh-release
GitHub - softprops/action-gh-release: 📦 GitHub Action for creating GitHub Releases
3 weeks ago - When reusing an existing draft release, set this to true to keep it draft; omit it to publish after upload. ... Upload assets sequentially in the provided order. This controls the action's upload behavior, but it does not control the final asset ordering that GitHub may display on the release page or return from the Releases API.
Starred by 5.5K users
Forked by 616 users
Languages TypeScript 99.8% | JavaScript 0.2%
GitHub
github.com › marketplace › actions › create-release
Create Release · Actions · GitHub Marketplace · GitHub
When allowUpdates is enabled, this will fail the action if the release it is updating is not a draft or a prerelease. ... The identifier of the created release. ... The HTML URL of the release. ... The URL for uploading assets to the release. ... The URL for downloading the release as a tarball (.tar.gz). ... The URL for downloading the release as a zipball (.zip). ... JSON string containing a map of asset names to download URLs for uploaded assets. This example will create a release when a tag is pushed:
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 - This example uses the gh tool to attach the file ./artifact/some-build-artifact.zip: on: push: branches: - main name: release-please jobs: release-please: runs-on: ubuntu-latest steps: - uses: google-github-actions/release-please-action@v4 id: release with: release-type: node - name: Upload Release Artifact if: ${{ steps.release.outputs.release_created }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: gh release upload ${{ steps.release.outputs.tag_name }} ./artifact/some-build-artifact.zip
Starred by 13 users
Forked by 8 users
Languages TypeScript
GitHub
github.com › ncipollo › release-action
GitHub - ncipollo/release-action: An action which manages a github release · GitHub
When allowUpdates is enabled, this will fail the action if the release it is updating is not a draft or a prerelease. ... The identifier of the created release. ... The HTML URL of the release. ... The URL for uploading assets to the release. ... The URL for downloading the release as a tarball (.tar.gz). ... The URL for downloading the release as a zipball (.zip). ... JSON string containing a map of asset names to download URLs for uploaded assets. This example will create a release when a tag is pushed:
Starred by 1.7K users
Forked by 233 users
Languages TypeScript
Medium
birtony.medium.com › setting-up-automated-release-workflow-with-github-actions-628dbca2446e
Setting up Automated Release Workflow with GitHub Actions | by Anton Biriukov | Medium
February 3, 2021 - Alternatively, there is a number of actions available on the GitHub Marketplace, for example the Package Version Check Action. This ready-to-use action will check the latest git tag and update the version in package.json accordingly. The action will generate an authorized commit and push it directly to the branch you are running the release workflow on.
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
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/autorelease.yaml git commit -m "feat: add auto release workflow and upload dist/index.js" git push origin main · Create and push a new tag to trigger the workflow: ... Open the run to ensure all steps—checkout, release creation, and asset upload—completed successfully: After execution, go to Releases. You’ll see: ... index.js attached under Assets To push your Action to the Marketplace, click Edit release and follow the Publish to Marketplace prompts:
Localheinz
localheinz.com › articles › 2022 › 01 › 24 › creating-releases-with-github-actions
Creating releases with GitHub Actions - Andreas Möller
January 24, 2022 - # https://docs.github.com/en/actions name: "Release" on: # yamllint disable-line rule:truthy push: tags: - "**" jobs: release: name: "Release" runs-on: "ubuntu-latest" steps: - name: "Create release" uses: "ergebnis/.github/actions/github/release/create@1.8.0" with: github-token: "${{ secrets.GITHUB_TOKEN }}" You can see an example of a release with release notes created by this workflow in ergebnis/data-provider:1.3.0.
GitHub
github.com › actions › create-release › releases
Releases · actions/create-release
March 4, 2021 - This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired. ... Learn about vigilant mode. ... There was an error while loading. Please reload this page. ... This is the initial release of the create-release Action.
Author actions
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 › marketplace › actions › git-release
Git Release · Actions · GitHub Marketplace · GitHub
- name: Release uses: anton-yurchenko/git-release@main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: args: | build\\darwin-amd64.zip build\\linux-amd64.zip build\\windows-amd64.zip ... This action has multiple tags: latest / v1 / v1.2 / v1.2.3. You may lock to a certain version instead of using latest. (Recommended to lock against a major version, for example v4)
GitHub
github.com › marketplace › actions › release-please-action
release-please-action - GitHub Marketplace
This example uses the gh tool to attach the file ./artifact/some-build-artifact.zip: on: push: branches: - main name: release-please jobs: release-please: runs-on: ubuntu-latest steps: - uses: googleapis/release-please-action@v4 id: release with: release-type: node - name: Upload Release Artifact if: ${{ steps.release.outputs.release_created }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: gh release upload ${{ steps.release.outputs.tag_name }} ./artifact/some-build-artifact.zip
GitHub
github.com › actions › upload-release-asset
GitHub - actions/upload-release-asset: An Action to upload a release asset via the GitHub Release API · GitHub
on: push: # Sequence of patterns matched against refs/tags tags: - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 name: Upload Release Asset jobs: build: name: Upload Release Asset runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v2 - name: Build project # This would actually build your project, using zip for an example artifact run: | zip --junk-paths my-artifact README.md - name: Create Release id: create_release uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ github.ref }} release_name: Release ${{ github.
Starred by 711 users
Forked by 198 users
Languages JavaScript