mirror of
				https://github.com/ButlerLogic/action-autotag.git
				synced 2025-10-31 23:36:22 +07:00 
			
		
		
		
	WIP
This commit is contained in:
		| @ -116,11 +116,11 @@ export default class Tag { | ||||
|         type: 'commit' | ||||
|       }) | ||||
|  | ||||
|       this._sha = newTag.data.sha | ||||
|       core.warning(`Created new tag: ${newTag.data.tag}`) | ||||
|  | ||||
|       // Create reference | ||||
|       let newReference | ||||
|       this._sha = newTag.data.sha | ||||
|  | ||||
|       try { | ||||
|         newReference = await github.git.createRef({ | ||||
|  | ||||
| @ -51,6 +51,8 @@ async function run () { | ||||
|       core.getInput('tag_suffix', { required: false }) | ||||
|     ) | ||||
|  | ||||
|     core.warning(`Attempting to create ${tag.name} tag.`) | ||||
|  | ||||
|     // Check for existance of tag and abort (short circuit) if it already exists. | ||||
|     if (await tag.exists()) { | ||||
|       core.warning(`"${tag.name}" tag already exists.` + os.EOL) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Corey Butler
					Corey Butler