Skip to content
Alexey Sotkin edited this page Aug 13, 2019 · 3 revisions

Welcome to the SPIRV-LLVM-Translator wiki!

How to create a release

Option 1

This option allows us to review/test attached binaries before publishing the release.

  • Go to https://travis-ci.org/KhronosGroup/SPIRV-LLVM-Translator
  • Choose "More options" -> "Trigger build"
  • Pick a branch or commit for the release
    • Commit message is irrelevant.
  • Insert the following config
    • Note: The branch in deploy.on must match with the one picked for the build # (previous item)
    • Note: TRAVIS_TAG will be used for the release on github.
    • Note: This is a draft release.
before_deploy:
  - echo ${TRAVIS_COMMIT} > ../install/version.txt;
  - export TRAVIS_TAG=v8.0.1-2
  - export TARBALL=SPIRV-LLVM-Translator-${TRAVIS_TAG}-${TRAVIS_OS_NAME}-${BUILD_TYPE}.zip;
  - cd ../install && find . -print | zip -@ ${TARBALL};

deploy:
  provider: releases
  api_key: ${repo_token}
  on:
    branch: llvm_release_80
    condition: ${BUILD_EXTERNAL} == 1 && ${SHARED_LIBS} == ON && ${repo_token}
  file: ${TARBALL}
  skip_cleanup: true
  overwrite: false
  draft: true
  • Click "Trigger custom build" and wait while the first two builds complete.
  • Go to https://github.com/KhronosGroup/SPIRV-LLVM-Translator/releases. A "Draft" release should be created there by travis.
    • Make sure built artifacts are attached.
  • Edit the release as needed.
    • Set the branch
    • Provide meaningful title for the release
    • Provide a description / release notes.
  • Review the release with the community
  • Once we are happy with the draft, publish it.

Option 2

With this option we can create a release right away.

Clone this wiki locally