Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
manylov committed Nov 6, 2023
2 parents 538164f + 6a14a88 commit 2476c99
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 14 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release

on:
push:
branches:
- "main"
- "next"

env:
HUSKY: 0
CI: true

jobs:
release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
18 changes: 18 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"branches": [
{
"name": "main"
},
{
"name": "next",
"channel": "next",
"prerelease": "next"
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
"@semantic-release/github"
]
}
2 changes: 1 addition & 1 deletion contracts/GovernorV3.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pragma solidity ^0.8.17;

import {EnumerableSet} from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import {TimeLockTx, IGovernorV3} from "./interfaces/IGovernorV3.sol";
import {ITimeLock} from "./interfaces/ITimeLock.sol";
import {ITimeLock} from "./interfaces/ITimelock.sol";

enum TxAction {
Execute,
Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "@gearbox-protocol/governance",
"version": "1.0.0",
"description": "Gearbox Protocol governance contracts",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@openzeppelin/contracts": "^5.0.0"
}
"name": "@gearbox-protocol/governance",
"version": "1.0.0",
"description": "Gearbox Protocol governance contracts",
"files": [
"contracts"
],
"keywords": [
"gearbox"
],
"license": "ISC",
"devDependencies": {
"@openzeppelin/contracts": "^5.0.0"
}
}

0 comments on commit 2476c99

Please sign in to comment.