-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from nitrictech/feature/new-api-changes
refactor: API Updates
- Loading branch information
Showing
36 changed files
with
746 additions
and
1,093 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
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 |
---|---|---|
|
@@ -8,6 +8,7 @@ on: | |
|
||
jobs: | ||
version: | ||
if: github.event.pull_request.merged == true | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
|
@@ -20,37 +21,20 @@ jobs: | |
run: | | ||
git config --global user.name 'github-actions[bot]' | ||
git config --global user.email 'github-actions[bot]@users.noreply.github.com' | ||
- name: Bump version and push tag | ||
id: tag_version | ||
uses: mathieudutour/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Install Versionize | ||
run: dotnet tool install --global Versionize --version 1.6.2 | ||
|
||
- name: Install Dependencies | ||
run: dotnet restore | ||
|
||
- name: Version Bump and tag | ||
run: | | ||
versionize | ||
shell: bash | ||
|
||
- name: Push version bump & tags | ||
run: | | ||
git fetch | ||
git checkout main | ||
git push origin main --follow-tags | ||
- name: Get latest tag | ||
run: | | ||
echo "::set-output name=TAG_REF::`git describe --abbrev=0`" | ||
id: latest_tag | ||
|
||
- name: Create Draft Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ steps.latest_tag.outputs.TAG_REF }} | ||
release_name: Release ${{ steps.latest_tag.outputs.TAG_REF }} | ||
tag_name: ${{ steps.tag_version.outputs.new_tag }} | ||
release_name: Release ${{ steps.tag_version.outputs.new_tag }} | ||
body: See CHANGELOG.md for changes | ||
draft: true | ||
prerelease: false |
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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "contracts"] | ||
path = Nitric.Proto/contracts | ||
path = Nitric.Sdk/contracts | ||
url = [email protected]:nitrictech/contracts.git |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Submodule contracts
deleted from
19a3cf
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.