Skip to content

Commit

Permalink
add release metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-darkly committed Aug 28, 2019
1 parent 8b1ea05 commit e0c58ab
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .ldrelease/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
repo:
public: ld-relay
private: ld-relay-private

releasableBranches:
- name: v5

publications:
- url: https://godoc.org/github.com/launchdarkly/ld-relay
description: documentation
6 changes: 6 additions & 0 deletions .ldrelease/update-version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

VERSION_GO=internal/version/version.go
VERSION_GO_TEMP=${VERSION_GO}.tmp
sed "s/const Version =.*/const Version = \"${LD_RELEASE_VERSION}\"/g" ${VERSION_GO} > ${VERSION_GO_TEMP}
mv ${VERSION_GO_TEMP} ${VERSION_GO}

0 comments on commit e0c58ab

Please sign in to comment.