Skip to content

Commit

Permalink
Finish v0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavomassa committed May 30, 2022
2 parents bbeda4e + f4dc882 commit fb8bf54
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Go 1.18.2
uses: actions/setup-go@v2
with:
go-version: '1.18.2'
go-version: 1.18.2

- name: Checkout repo
uses: actions/checkout@v3
Expand Down Expand Up @@ -45,22 +45,18 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0

- uses: actions/setup-go@v2
with:
go-version: 1.18.2
- uses: actions/setup-node@v2
with:
node-version: 16
- name: Build Template
node-version: 16
- name: Build HTML Template
run: |
make template
- uses: actions/setup-go@v2
with:
go-version: '1.18.2'

- name: Go Generate
run: |
make generate
make generate
- name: Go Build
run: |
VERSION=$(git describe --tags --abbrev=0)
Expand All @@ -72,8 +68,9 @@ jobs:
echo "BINARY_NAME=$BINARY_NAME" >> $GITHUB_ENV
echo "GOOS=$GOOS" >> $GITHUB_ENV
echo "GOARCH=$GOARCH" >> $GITHUB_ENV
printenv
go build -ldflags="-X 'main.Version=$VERSION'" -o "$BINARY_NAME" -v
# - name: Release Notes
# run:
# git log $(git describe HEAD~ --tags --abbrev=0)..HEAD --pretty='format:* %h %s%n * %an <%ae>' --no-merges >> ".github/RELEASE-TEMPLATE.md"
Expand Down

0 comments on commit fb8bf54

Please sign in to comment.