Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Haisheng Yuan and Omer Arap committed Jun 22, 2016
2 parents 016a376 + 0d0db79 commit ff7de09
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
14 changes: 14 additions & 0 deletions concourse/publish_tag_osx.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash


set -o pipefail
set -u -e -x

main() {
env LC_ALL=C tar tf bin_gpos_osx_release/bin_gpos_osx_release.tar.gz | grep "libgpos.dylib" | sort -n | head -n 1 | sed 's/\.\/lib\/libgpos\.dylib\./v/' > gpos_github_release_stage_osx/tag.txt
cp -v bin_gpos_osx_release/bin_gpos_osx_release.tar.gz gpos_github_release_stage_osx/bin_gpos_osx_release.tar.gz
cp -v bin_gpos_osx_debug/bin_gpos_osx_debug.tar.gz gpos_github_release_stage_osx/bin_gpos_osx_debug.tar.gz
env GIT_DIR=gpos_src/.git git rev-parse HEAD > gpos_github_release_stage_osx/commit.txt
}

main "$@"
9 changes: 9 additions & 0 deletions concourse/publish_tag_osx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
platform: darwin
inputs:
- name: gpos_src
- name: bin_gpos_osx_release
- name: bin_gpos_osx_debug
outputs:
- name: gpos_github_release_stage_osx
run:
path: gpos_src/concourse/publish_tag_osx.bash

0 comments on commit ff7de09

Please sign in to comment.