Skip to content
/ tag Public

GH action implementing Localazy's tag commands

License

Notifications You must be signed in to change notification settings

localazy/tag

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Localazy Tag docker action

Manage Localazy's release tags. For full overview please visit the documentation.

Inputs

workdir

Optional Defines the working directory where to invoke Localazy CLI command.

config_file

Optional The filename of the configuration file. Default: localazy.json

key_file

Optional The filename of the key file.

read_key

Optional The read key for the project on Localazy. Can be defined in the config or key file but we recommend to use Github Secrets.

write_key

Optional The write key for the project on Localazy. Can be defined in the config or key file but we recommend to use Github Secrets.

list

Optional List existing release tags.

publish

Optional Publish tag.

promote_from

Optional Promote tag's state into promote_to state and overwrite it's state. promote_to must also be defined.

promote_to

Optional Promotion target of the promote_from tag. promote_from must also be defined.

rename_from

Optional Name of the tag you want to rename. rename_to must also be defined.

rename_to

Optional New name of the rename_from tag. rename_from must also be defined.

delete

Optional Name of the tag you want to delete.

merge_from

Optional Merge tag's state into merge_to tag. merge_to and merge_output must also be defined.

merge_to

Optional Merge target of the merge_from tag. merge_from and merge_output must also be defined.

merge_output

Optional Name of the output tag of the merge operation. merge_from and merge_output must also be defined.

merge_parameters

Optional Parameters for the merge operation. See available options. Invoked only when merge_from, merge_to and merge_output are defined.

Example usage

uses: localazy/tag@v1
with:
  read_key: ${{ secrets.LOCALAZY_READ_KEY }}
  write_key: ${{ secrets.LOCALAZY_WRITE_KEY }}
  merge_from: 'renamed-tag'
  merge_to: 'new-tag-2'
  merge_output: 'merged-tag'
  merge_parameters: '--no-arrays-checks'