mirror of
https://github.com/jimeh/update-tags-action.git
synced 2026-02-19 09:36:41 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e58fa0f2f8 | ||
| b74b3c77fc | |||
|
9c7745702d
|
|||
|
b533724221
|
2
.github/.release-please-manifest.json
vendored
2
.github/.release-please-manifest.json
vendored
@@ -1,3 +1,3 @@
|
||||
{
|
||||
".": "1.0.0"
|
||||
".": "1.0.1"
|
||||
}
|
||||
|
||||
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
||||
private-key: ${{ secrets.RELEASE_BOT_PRIVATE_KEY }}
|
||||
- name: MAJOR and MAJOR.MINOR tags
|
||||
if: ${{ steps.release.outputs.release_created }}
|
||||
uses: jimeh/update-tags-action@main
|
||||
uses: jimeh/update-tags-action@v1
|
||||
with:
|
||||
tags: |
|
||||
v${{ steps.release.outputs.major }}
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## [1.0.1](https://github.com/jimeh/update-tags-action/compare/v1.0.0...v1.0.1) (2023-05-18)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **action:** tweak metadata for GitHub Marketplace ([#4](https://github.com/jimeh/update-tags-action/issues/4)) ([b74b3c7](https://github.com/jimeh/update-tags-action/commit/b74b3c77fc20bdfd61e29dbf680a9f84612e5fda))
|
||||
|
||||
## [1.0.0](https://github.com/jimeh/update-tags-action/compare/v0.0.1...v1.0.0) (2023-05-18)
|
||||
|
||||
|
||||
|
||||
11
README.md
11
README.md
@@ -4,7 +4,7 @@
|
||||
|
||||
<p align="center">
|
||||
<strong>
|
||||
Create/update git tags via GitHub API.
|
||||
Easily create/update one or more Git tags in a GitHub repository.
|
||||
</strong>
|
||||
</p>
|
||||
|
||||
@@ -23,11 +23,12 @@
|
||||
</a>
|
||||
</p>
|
||||
|
||||
A simple action to easily create/update one or more tags in a GitHub repository.
|
||||
|
||||
Generally useful for moving major (`v1`) and minor (`v1.2`) tags to same commit
|
||||
as the latest `v1.x.x` tag. This action uses itself to move it's own major and
|
||||
minor tags.
|
||||
as the latest `v1.x.x` tag.
|
||||
|
||||
This action
|
||||
[uses itself](https://github.com/jimeh/update-tags-action/blob/main/.github/workflows/ci.yml)
|
||||
to move its own major and minor tags.
|
||||
|
||||
## Examples
|
||||
|
||||
|
||||
12
action.yml
12
action.yml
@@ -1,6 +1,11 @@
|
||||
name: "Update Tags Action"
|
||||
description: "Create/update Git tags to point to a given sha or ref"
|
||||
name: "update-tags-action"
|
||||
description: "Easily create/update one or more tags in a GitHub repository."
|
||||
author: "jimeh"
|
||||
|
||||
branding:
|
||||
icon: "tag"
|
||||
color: "blue"
|
||||
|
||||
inputs:
|
||||
tags:
|
||||
description: "List/CSV of tags to create/update."
|
||||
@@ -31,6 +36,3 @@ outputs:
|
||||
runs:
|
||||
using: "node16"
|
||||
main: "dist/index.js"
|
||||
branding:
|
||||
icon: "tag"
|
||||
color: "blue"
|
||||
|
||||
Reference in New Issue
Block a user