Skip to content

Commit

Permalink
devnet deployment changes
Browse files Browse the repository at this point in the history
  • Loading branch information
avkr003 committed Sep 24, 2024
1 parent 7314a67 commit a34dbab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ name: Deploy in devnet
on:
push:
branches:
- main
- devnet
jobs:
deploy:
runs-on: ubuntu-latest
environment: devnet
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
BRANCH_NAME: devnet
NAME: elys
COMMIT: ${{ github.sha }}
VERSION:
VERSION:
BINARY:
DBENGINE: pebbledb
COSMWASM_VERSION:
Expand Down Expand Up @@ -56,6 +56,7 @@ jobs:
-X github.com/cosmos/cosmos-sdk/version.Commit=${COMMIT} \
-X github.com/cosmos/cosmos-sdk/types.DBBackend=${DBENGINE} \
-X github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger,muslc,osusergo,${DBENGINE} \
-X github.com/elys-network/elys/app.NextVersion=${VERSION} \
-w -s \
-linkmode=external \
-extldflags '-Wl,-z,muldefs -static -lm'" -tags "ledger,${DBENGINE}" ./cmd/${BINARY}
Expand Down
3 changes: 2 additions & 1 deletion app/setup_handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ import (

const (
// make sure to update these when you upgrade the version
NextVersion = "v0.42.0"

LocalNetVersion = "v999.999.999"
)

var NextVersion = "v0.42.0"

func SetupHandlers(app *ElysApp) {
setUpgradeHandler(app)

Expand Down

0 comments on commit a34dbab

Please sign in to comment.