diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5ce399d --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +ci/creds.yml +ci/out diff --git a/ci/base/pipeline.yml b/ci/base/pipeline.yml new file mode 100644 index 0000000..88d9c8b --- /dev/null +++ b/ci/base/pipeline.yml @@ -0,0 +1,42 @@ +--- +resources: +- name: release + type: github-release + icon: package-variant-closed + source: + owner: cappyzawa + repository: starlark.vim + access_token: ((github-access-token)) +- name: version + type: semver + icon: tag + source: + driver: git + uri: git@github.com:cappyzawa/starlark.vim.git + branch: version + private_key: ((private-key)) + commit_message: "[ci skip] bump version" + file: VERSION +- name: repo + type: git + icon: git-circle + source: + uri: https://github.com/cappyzawa/starlark.vim + branch: master + +jobs: +#@ for l in ["patch", "minor", "major"]: +- name: #@ "{}-release".format(l) + build_logs_to_retain: 10 + plan: + - aggregate: + - get: repo + - put: version + params: + bump: #@ l + - put: release + params: + name: version/version + tag: version/version + tag_prefix: v +#@ end