-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "chore: Update CI workflow with versioning and publishing step…
…s that" This reverts commit b160fe65180945ec5862acb0854c907c06b3435d.
- Loading branch information
1 parent
c731f41
commit c623665
Showing
2 changed files
with
1 addition
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,36 +30,6 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Calculate semantic version | ||
id: versioning | ||
uses: bitshifted/[email protected] | ||
with: | ||
main_branch: main | ||
create_tag: false | ||
tag_prefix: 'v' | ||
|
||
- name: Update version in mix.exs | ||
env: | ||
RELEASE_VERSION: ${{ steps.versioning.outputs.version-string }} | ||
run: | | ||
git config --global user.email "github-actions[bot]@users.noreply.github.com" | ||
git config --global user.name "github-actions[bot]" | ||
sed -i "s/version: \".*\"/version: \"${RELEASE_VERSION#v}\"/" mix.exs | ||
git add mix.exs | ||
git commit -m "chore: Bump version to ${RELEASE_VERSION}" | ||
git push | ||
- name: Create GitHub Release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
VERSION=${{ steps.versioning.outputs.version-string }} | ||
git tag $VERSION | ||
git push origin $VERSION | ||
gh release create $VERSION \ | ||
--title "Release $VERSION" \ | ||
--generate-notes | ||
- name: Set up Elixir | ||
uses: erlef/setup-beam@v1 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters