|
15 | 15 | description: 'New release for plugin interface'
|
16 | 16 | required: true
|
17 | 17 | type: boolean
|
18 |
| - postgres-plugin-version: |
| 18 | + postgresql-plugin-version: |
19 | 19 | description: 'Postgres plugin version'
|
20 | 20 | required: true
|
21 |
| - new-release-for-postgres-plugin: |
| 21 | + new-release-for-postgresql-plugin: |
22 | 22 | description: 'New release for postgres plugin'
|
23 | 23 | required: true
|
24 | 24 | type: boolean
|
|
38 | 38 | run-for: add-dev-tag
|
39 | 39 | core-version: ${{ github.event.inputs.core-version }}
|
40 | 40 | plugin-interface-version: ${{ github.event.inputs.plugin-interface-version }}
|
41 |
| - postgres-plugin-version: ${{ github.event.inputs.postgres-plugin-version }} |
| 41 | + postgresql-plugin-version: ${{ github.event.inputs.postgresql-plugin-version }} |
42 | 42 | add-dev-tag:
|
43 | 43 | runs-on: ubuntu-latest
|
| 44 | + needs: dependency-branches |
44 | 45 | steps:
|
45 | 46 | - name: Set up JDK 21.0.7
|
46 | 47 | uses: actions/setup-java@v2
|
|
54 | 55 | ref: feat/java_gradle_upgrade
|
55 | 56 | - uses: actions/checkout@v2
|
56 | 57 | with:
|
| 58 | + repository: supertokens/supertokens-core |
57 | 59 | path: ./supertokens-root/supertokens-core
|
58 | 60 | ref: ${{ fromJson(needs.dependency-branches.outputs.branches)['core'] }}
|
59 | 61 | - uses: actions/checkout@v2
|
|
66 | 68 | repository: supertokens/supertokens-postgresql-plugin
|
67 | 69 | path: ./supertokens-root/supertokens-postgresql-plugin
|
68 | 70 | ref: ${{ fromJson(needs.dependency-branches.outputs.branches)['postgresql'] }}
|
| 71 | + - name: Load Modules |
| 72 | + run: | |
| 73 | + cd supertokens-root |
| 74 | + echo "core,master |
| 75 | + plugin-interface,master |
| 76 | + postgresql-plugin,master |
| 77 | + " > modules.txt |
| 78 | + cat modules.txt |
| 79 | + ./loadModules |
| 80 | + - name: Setup test env |
| 81 | + run: cd supertokens-root && ./utils/setupTestEnv --local |
| 82 | + - name: Git config |
| 83 | + run: | |
| 84 | + git config --global user.name "Supertokens Bot" |
| 85 | + git config --global user.email <>" |
| 86 | + - name: Add dev tag to plugin interface |
| 87 | + if: ${{ github.event.inputs.new-release-for-plugin-interface == 'true' }} |
| 88 | + run: | |
| 89 | + echo "Adding dev tag to plugin interface" |
| 90 | + cd supertokens-root/supertokens-plugin-interface |
| 91 | + ./addDevTag |
| 92 | + - name: Add dev tag to postgres plugin |
| 93 | + if: ${{ github.event.inputs.new-release-for-postgresql-plugin == 'true' }} |
| 94 | + run: | |
| 95 | + echo "Adding dev tag to postgres plugin" |
| 96 | + cd supertokens-root/supertokens-postgresql-plugin |
| 97 | + ./addDevTag |
| 98 | + - name: Add dev tag to core |
| 99 | + run: | |
| 100 | + echo "Adding dev tag to core" |
| 101 | + cd supertokens-root/supertokens-core |
| 102 | + ./addDevTag |
0 commit comments