-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
61 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
on: | ||
push: | ||
branches: | ||
- "master" | ||
|
||
name: Create Release | ||
|
||
jobs: | ||
build: | ||
name: Create Release | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
- name: "Get current version" | ||
uses: oprypin/find-latest-tag@v1 | ||
with: | ||
repository: ${{ github.repository }} # The repository to scan. | ||
releases-only: true # We know that all relevant tags have a GitHub release for them. | ||
id: est_proxy_ver # The step ID to refer to later. | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Retrieve Version from version.py | ||
run: | | ||
echo APP_NAME=$(echo ${{ github.repository }} | awk -F / '{print $2}') >> $GITHUB_ENV | ||
echo TAG_NAME=$(cat est_proxy/version.py | grep -i __version__ | head -n 1 | sed 's/__version__ = //g' | sed s/\'//g) >> $GITHUB_ENV | ||
- run: echo "Repo is at version ${{ steps.est_proxy_ver.outputs.tag }}" | ||
- run: echo "APP tag is ${{ env.APP_NAME }}" | ||
- run: echo "Latest tag is ${{ env.TAG_NAME }}" | ||
|
||
- name: Create Release | ||
id: create_release | ||
if: steps.est_proxy_ver.outputs.tag != env.TAG_NAME | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token | ||
with: | ||
tag_name: ${{ env.TAG_NAME }} | ||
release_name: ${{ env.APP_NAME }} ${{ env.TAG_NAME }} | ||
# release_name: hahohe ${{ env.TAG_NAME }} | ||
# body_path: body.txt | ||
body: | | ||
[Changelog](https://github.com/grindsa/est_proxy/blob/master/CHANGES.md) | ||
draft: false | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- markdownlint-disable MD013 --> | ||
# est_proxy changelog | ||
|
||
## 0.1 | ||
|
||
**MVP** supporting: | ||
|
||
- tls client authentication | ||
- `cacert` call-flow | ||
- certificate enrollment via `simpleenroll` | ||
- certificate renewal via `simplereenroll` |
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