https://github.com/marco-souza/tag-release
Github Action to generate a release whenever your app version changes
https://github.com/marco-souza/tag-release
bun deno github-actions nodejs release-automation semver tags
Last synced: 5 months ago
JSON representation
Github Action to generate a release whenever your app version changes
- Host: GitHub
- URL: https://github.com/marco-souza/tag-release
- Owner: marco-souza
- Created: 2024-09-30T17:22:35.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-11-07T22:18:23.000Z (8 months ago)
- Last Synced: 2024-12-22T11:40:48.900Z (6 months ago)
- Topics: bun, deno, github-actions, nodejs, release-automation, semver, tags
- Language: TypeScript
- Homepage:
- Size: 219 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tag-release

**Tag Release** is a GitHub Action that creates **GitHub Releases** whenever your version file changes.
> [!NOTE]
> We only support `json` files with a `version` key on the root level, because it was initially created to support `package.json` and `deno.json`.
>
> You can also create a `version.json`, at the root level of your project, if you are not developing a JavaScript package.## Usage
For NodeJS:
```yaml
# .github/workflows/release.yml
name: Create Release on version changeon:
push:
paths:
- package.jsonjobs:
gh-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3- name: Create release from tag
uses: marco-souza/[email protected]
with:
version-file: package.json
token: ${{ secrets.GITHUB_TOKEN }}
```For Deno:
```yaml
# .github/workflows/release.yml
name: Create Release on version changeon:
push:
paths:
- deno.jsonjobs:
gh-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3- name: Create release from tag
uses: marco-souza/[email protected]
with:
version-file: deno.json
token: ${{ secrets.GITHUB_TOKEN }}
```