我一直在尝试使该管道以各种不同的格式触发,这似乎是正确的格式,但是我必须丢失一些东西,因为它仍然无法正常工作。
我只是yarn version --prerelease
做git标签并与应用package.json
版本保持同等。
# This is a sample build configuration for JavaScript.
# Check our guides at https://confluence.atlassian.com/x/14UWN for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: node:10.15.3
pipelines:
tags:
'v*-*':
- step:
script:
- echo "I FEEL LIKE I'M TAKING CRAZY PILLS"
答案 0 :(得分:3)
我以为我做git push
时,我的标签就和其他所有东西一起被推到了位桶中(在GH Actions中这样工作)。我不得不使用git push --tags
明确地推送标签,然后标签开始工作。