Skip to content

jenkins: build tarballs on tag #1355

Description

@WardBrian

We have some helper scripts for this over at https://github.com/stan-dev/ci-scripts/tree/master/release-scripts

Pseudocode:

if BUILDING_TAG:
  download stanc3 binaries from https://github.com/stan-dev/stanc3/releases/tag/$TAG
  set VERSION = TAG without preceeding 'v'
  rename cloned folder to cmdstan-$VERSION
  copy linux-stanc, macos-stanc, and windows-stanc to cmdstan-$VERSION/bin
  run "tar --exclude-vcs --hard-dereference -chzvf cmdstan-$VERSION.tar.gz cmdstan-$VERSION/"

  then, run the rest of https://github.com/stan-dev/ci-scripts/blob/master/release-scripts/build-non-x86-tarballs.sh#L12-L35

cc @dylex

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions