Skip to content

Commit

Permalink
Merge pull request #292 from zemyblue/feat/apply_release_v2.0.0
Browse files Browse the repository at this point in the history
feat: apply the changes of release/v2.0.x branch
  • Loading branch information
zemyblue authored Oct 26, 2023
2 parents b2de46c + cd1ef63 commit 567e517
Show file tree
Hide file tree
Showing 30 changed files with 26,280 additions and 21,471 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/autopr.yml

This file was deleted.

7 changes: 4 additions & 3 deletions .github/workflows/ci-smart-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:

env:
TEST_DOCKER_IMAGE: finschianode:smartcontractci
GO_VERSION: "1.20"

jobs:
cleanup-runs:
Expand Down Expand Up @@ -60,9 +61,9 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.18
go-version: ${{ env.GO_VERSION }}
- name: Build
run: GOARCH=${{ matrix.go-arch }} LEDGER_ENABLED=false make build
run: GOARCH=${{ matrix.go-arch }} LEDGER_ENABLED=false LINK_STATICALLY=true make build
- name: Upload build
uses: actions/upload-artifact@v3
with:
Expand All @@ -80,7 +81,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.18
go-version: ${{ env.GO_VERSION }}
- name: Download smart contracts
uses: dsaltares/fetch-gh-release-asset@master
with:
Expand Down
150 changes: 0 additions & 150 deletions .github/workflows/release-build.yml

This file was deleted.

26 changes: 17 additions & 9 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,31 @@ name: Release
# This workflow helps with creating releases.
# This job will only be triggered when a tag (vX.X.x) is pushed
on:
# can be used to re-release an existing tag
workflow_dispatch:

push:
# Sequence of patterns matched against refs/tags
tags:
- "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10
- "v[0-9]+.[0-9]+.[0-9]+*" # Push events to matching v*, i.e. v1.0, v20.15.10

permissions:
contents: write
packages: write

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Create release
uses: goreleaser/goreleaser-action@v5
- uses: actions/checkout@v4
with:
args: release --clean --release-notes ./RELEASE_CHANGELOG.md
fetch-depth: 0
ref: ${{ github.event.inputs.release_tag }}

- run: git fetch --force --tags

- name: Build & publish release
run: |
make release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 8 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -335,3 +335,11 @@ jobs:
if [ ${{ steps.test-blocks.outcome }} == 'failure' ] ; then
exit 1
fi
test-upgrade-name:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Test upgrade name
run: |
make test-upgrade-name
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ docs/_build
docs/tutorial
dist
tools-stamp
temp

# Data - ideally these don't exist
baseapp/data/*
Expand Down
Loading

0 comments on commit 567e517

Please sign in to comment.