Skip to content

Commit

Permalink
Better Support For Go Modules (prebid#1862)
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxNode authored and shunj-nb committed Nov 8, 2022
1 parent 5d16472 commit 290a176
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+'

jobs:
release:
Expand All @@ -13,13 +13,15 @@ jobs:
steps:
- name: Get Version
id: get_version
run: echo ::set-output name=version::${GITHUB_REF/refs\/tags\//}
run: |
echo ::set-output name=tag::${GITHUB_REF/refs\/tags\/}
echo ::set-output name=version::${GITHUB_REF/refs\/tags\/v}
- name: Create & Publish Release
uses: release-drafter/release-drafter@v5.12.1
with:
name: ${{ steps.get_version.outputs.version }}
tag: ${{ steps.get_version.outputs.version }}
tag: ${{ steps.get_version.outputs.tag }}
version: ${{ steps.get_version.outputs.version }}
publish: true
env:
Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ go build .
Load the landing page in your browser at `http://localhost:8000/`.
For the full API reference, see [the endpoint documentation](https://docs.prebid.org/prebid-server/endpoints/pbs-endpoint-overview.html)

## Go Modules

The packages within this repository are intended to be used as part of the Prebid Server compiled binary. If you
choose to import Prebid Server packages in other projects, please understand we make no promises on the stability
of exported types.

## Contributing

Expand All @@ -59,7 +64,7 @@ Report bugs, request features, and suggest improvements [on Github](https://gith

Or better yet, [open a pull request](https://github.com/prebid/prebid-server/compare) with the changes you'd like to see.

## IDE Setup for PBS-Go development
## IDE Recommendations

The quickest way to start developing PBS-Go in a reproducible environment isolated from your host OS
is by using this [VScode Remote Container Setup](devcontainer.md)
The quickest way to start developing Prebid Server in a reproducible environment isolated from your host OS
is by using Visual Studio Code with [Remote Container Setup](devcontainer.md).

0 comments on commit 290a176

Please sign in to comment.