Skip to content

Commit

Permalink
feat(release): python package version will now match installer version
Browse files Browse the repository at this point in the history
closes #117
  • Loading branch information
Christopher Pickering committed Apr 14, 2022
1 parent c003b34 commit a1359bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ jobs:
EMAIL: ${{ secrets.GIT_EMAIL }}

- name: Push changes
if: steps.semantic.outputs.new_release_published == 'true'
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.PPA_REPO_PAT }}
Expand Down
2 changes: 1 addition & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"prepareCmd" : "echo ${nextRelease.version} > .version; poetry version ${nextRelease.version}"
}],
["@semantic-release/git", {
"assets": ["package.json", ".version"]
"assets": ["package.json", ".version", "pyproject.toml"]
}],
"@semantic-release/github"
]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"url": "github:atlas-bi/atlas-automation-hub"
},
"scripts": {
"commit": "git add . && pre-commit run ; git add . && cz",
"commit": "git add . && pre-commit run && git add . && cz --no-verify",
"format": "prettier --config .prettierrc \"web/**/*.{ts,css,less,scss,js,json,md,yaml,html}\" --write",
"install": "gulp build",
"test": "npm run test:eslint; npm run test:prettier",
Expand Down

0 comments on commit a1359bd

Please sign in to comment.