Skip to content

Commit 05431e8

Browse files
2 parents fda96de + 33b13ae commit 05431e8

File tree

2 files changed

+20
-21
lines changed

2 files changed

+20
-21
lines changed

.github/workflows/prod-release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,18 @@ jobs:
2727
run: git config --global user.email "179917785+engineering-ci[bot]@users.noreply.github.com" && git config --global user.name "engineering-ci[bot]"
2828

2929
- name: Merge main -> release
30-
uses: devmasx/merge-branch@854d3ac71ed1e9deb668e0074781b81fdd6e771f
30+
uses: devmasx/merge-branch@6ec8363d74aad4f1615d1234ae1908b4185c4313
3131
with:
3232
type: now
3333
from_branch: main
3434
target_branch: release
3535
github_token: ${{ steps.app_token.outputs.token }}
3636

3737
- name: Merge release -> main
38-
uses: devmasx/merge-branch@854d3ac71ed1e9deb668e0074781b81fdd6e771f
38+
uses: devmasx/merge-branch@6ec8363d74aad4f1615d1234ae1908b4185c4313
3939
with:
4040
type: now
4141
from_branch: release
4242
target_branch: main
43+
message: 'Merge release back to main to get version increment [no ci]'
4344
github_token: ${{ steps.app_token.outputs.token }}
44-
env:
45-
INPUT_MESSAGE: 'Merge release back to main to get version increment [no ci]'

.github/workflows/release.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -67,21 +67,21 @@ jobs:
6767
env:
6868
GITHUB_TOKEN: ${{ steps.app_token.outputs.token }}
6969

70-
# - name: Publish @algorandfoundation/algorand-typescript-testing
71-
# if: github.ref_name != 'main'
72-
# uses: JS-DevTools/npm-publish@v3
73-
# with:
74-
# token: ${{ secrets.NPM_TOKEN }}
75-
# package: artifacts/algo-ts-testing/package.json
76-
# access: 'public'
77-
# tag: ${{ github.ref_name == 'alpha' && 'alpha' || github.ref_name == 'main' && 'beta' || github.ref_name == 'release' && 'latest' || 'pre-release' }}
70+
- name: Publish @algorandfoundation/algorand-typescript-testing
71+
if: github.ref_name != 'main'
72+
uses: JS-DevTools/npm-publish@v3
73+
with:
74+
token: ${{ secrets.NPM_TOKEN }}
75+
package: artifacts/algo-ts-testing/package.json
76+
access: 'public'
77+
tag: ${{ github.ref_name == 'alpha' && 'alpha' || github.ref_name == 'main' && 'beta' || github.ref_name == 'release' && 'latest' || 'pre-release' }}
7878

79-
# publish-docs:
80-
# name: Publish docs
81-
# needs: release
82-
# if: github.ref_name == 'release'
83-
# uses: ./.github/workflows/gh-pages.yml
84-
# permissions:
85-
# contents: read
86-
# pages: write
87-
# id-token: write
79+
publish-docs:
80+
name: Publish docs
81+
needs: release
82+
if: github.ref_name == 'release'
83+
uses: ./.github/workflows/gh-pages.yml
84+
permissions:
85+
contents: read
86+
pages: write
87+
id-token: write

0 commit comments

Comments
 (0)