Skip to content
This repository has been archived by the owner on Aug 28, 2020. It is now read-only.

Commit

Permalink
fix: semantic-release 3
Browse files Browse the repository at this point in the history
  • Loading branch information
timmyers committed Apr 17, 2020
1 parent dbbb56f commit 54d38f3
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ jobs:
tf2pulumi-version: 0.6.0
- name: Ensure dependencies
run: make ensure
- name: Generate provider deps
run: make provider
- name: Semantic release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ sdk/nodejs/node_modules
*.iml

yarn.lock
.npmrc

.env
4 changes: 4 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
["@semantic-release/exec", {
"prepareCmd": "VERSION=${nextRelease.version} make provider",
"publishCmd": "VERSION=${nextRelease.version} make publish_provider"
}],
["@semantic-release/exec", {
"prepareCmd": "VERSION=${nextRelease.version} make build_node",
"publishCmd": "VERSION=${nextRelease.version} make publish_node"
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ provider:: generate_schema
cd provider && go generate ${PROJECT}/provider/cmd/${PROVIDER}
cd provider && go install -ldflags "-X github.com/${ORG}/pulumi-${PACK}/provider/pkg/version.Version=${VERSION}" ${PROJECT}/provider/cmd/${PROVIDER}

publish_provider:: provider

lint::
golangci-lint run

Expand Down
2 changes: 1 addition & 1 deletion sdk/nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@timmyers/pulumi-github",
"version": "v0.0.2-alpha.1587155919+g1d6c51d",
"version": "0.0.3",
"description": "A Pulumi package for creating and managing github cloud resources.",
"keywords": [
"pulumi",
Expand Down

0 comments on commit 54d38f3

Please sign in to comment.