Trying to set the build to the current tag version of the Github repository
I am trying to set the pushed artifact to the latest tag name on Github. For now, I am using :
deploy:
description: 'ChessPgnReviser'
artifact: chesspgnreviser
provider: GitHub
auth_token:
secure:******************************
skip_clean: true
tag: ${APPVEYOR_REPO_TAG_NAME}
on:
branch: master
Furthermore, the build restarts once finished.
The script is attached to this message.
- appveyor.yml 989 Bytes
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 14 Jul, 2020 04:18 PM
Add this to
appveyor.yml
:2 Posted by laurent.bernabe on 14 Jul, 2020 05:17 PM
Thank you. But I still have the same issue.
I've joined the log and the updated script files.
Is my syntax "tag: ${APPVEYOR_REPO_TAG_NAME}" correct ?
3 Posted by laurent.bernabe on 14 Jul, 2020 07:25 PM
Solved by restricting builds to tags (skip_non_tags: true). Also removing "branch: master" requirement.
And by creating a new lightweight tag, of course.
laurent.bernabe closed this discussion on 14 Jul, 2020 07:26 PM.