File tree 7 files changed +40
-34
lines changed
7 files changed +40
-34
lines changed Original file line number Diff line number Diff line change
1
+ change-template : ' * $TITLE (#$NUMBER)'
2
+ template : |
3
+ ## Changes
4
+
5
+ $CHANGES
6
+
7
+ ## Contributors
8
+
9
+ $CONTRIBUTORS
Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' [0-9]+.[0-9]+.[0-9]+'
7
+
8
+ jobs :
9
+ release :
10
+ name : Create Release
11
+ if : github.event.base_ref == 'refs/heads/master'
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Get Version
15
+ id : get_version
16
+ run : echo ::set-output name=version::${GITHUB_REF/refs\/tags\//}
17
+
18
+ - name : Create & Publish Release
19
+ uses :
release-drafter/[email protected]
20
+ with :
21
+ name : ${{ steps.get_version.outputs.version }}
22
+ tag : ${{ steps.get_version.outputs.version }}
23
+ version : ${{ steps.get_version.outputs.version }}
24
+ publish : true
25
+ env :
26
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- [ ![ Build Status ] ( https://travis-ci.org/ prebid/prebid-server.svg?branch=master )] ( https://travis-ci.org /prebid/prebid-server )
1
+ [ ![ Build] ( https://img.shields.io/github/workflow/status/ prebid/prebid-server/Validate/master?style=flat-square )] ( https://github.com /prebid/prebid-server/actions/workflows/validate.yml )
2
2
[ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/prebid/prebid-server?style=flat-square )] ( https://goreportcard.com/report/github.com/prebid/prebid-server )
3
+ ![ Go Version] ( https://img.shields.io/github/go-mod/go-version/prebid/prebid-server?style=flat-square )
3
4
4
5
# Prebid Server
5
6
Original file line number Diff line number Diff line change 1
1
# Automated Tests
2
2
3
- This project uses [ TravisCI ] ( https://travis-ci.org/ ) to make sure that every PR passes automated tests.
3
+ This project uses GitHub Actions to make sure that every PR passes automated tests.
4
4
To reproduce these tests locally, use:
5
5
6
6
```
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ those updates must be submitted in the same Pull Request as the code changes.
40
40
When you're ready, [ submit a Pull Request] ( https://help.github.com/articles/creating-a-pull-request/ )
41
41
against the ` master ` branch of [ our GitHub repository] ( https://github.com/prebid/prebid-server/compare ) .
42
42
43
- Pull Requests will be vetted through [ Travis CI ] ( https://travis-ci.com/ ) .
43
+ Pull Requests will be vetted through GitHub Actions .
44
44
To reproduce these same tests locally, do:
45
45
46
46
``` bash
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import (
20
20
// Rev holds binary revision string
21
21
// Set manually at build time using:
22
22
// go build -ldflags "-X main.Rev=`git rev-parse --short HEAD`"
23
- // Populated automatically at build / release time via .travis.yml
23
+ // Populated automatically at build / releases
24
24
// `gox -os="linux" -arch="386" -output="{{.Dir}}_{{.OS}}_{{.Arch}}" -ldflags "-X main.Rev=`git rev-parse --short HEAD`" -verbose ./...;`
25
25
// See issue #559
26
26
var Rev string
You can’t perform that action at this time.
0 commit comments