We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c33e53e + ab28639 commit e3a0ffeCopy full SHA for e3a0ffe
.github/workflows/publish.yml
@@ -12,6 +12,9 @@ jobs:
12
steps:
13
- name: Checkout code
14
uses: actions/checkout@v3
15
+ - name: Get the version
16
+ id: get_version
17
+ run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
18
- name: Create release
19
id: create_release
20
uses: actions/create-release@v1
@@ -20,7 +23,7 @@ jobs:
23
with:
21
24
tag_name: ${{ github.ref }}
22
25
release_name: pytorch-optimizer ${{ github.ref }}
- body_path: docs/changelog/${{ github.ref }}.md
26
+ body_path: docs/changelog/${{ steps.get_version.outputs.VERSION }}.md
27
draft: false
28
prerelease: false
29
deploy:
0 commit comments