File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,15 @@ jobs:
2424 - name : " Create release output"
2525 run : echo '🎬 Release process for version ${{ env.RELEASE_VERSION }} started by @${{ github.triggering_actor }}' >> $GITHUB_STEP_SUMMARY
2626
27- - uses : mongodb-labs/drivers-github-tools/secure- checkout@v2
27+ - uses : actions/ checkout@v4
2828 with :
29- app_id : ${{ vars.APP_ID }}
30- private_key : ${{ secrets.APP_PRIVATE_KEY }}
29+ ref : ${{ github.ref }}
30+ fetch-depth : " 1"
31+ submodules : " false"
32+
33+ - name : Store GitHub token in environment
34+ run : echo "GH_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> "$GITHUB_ENV"
35+ shell : bash
3136
3237 - name : " Store version numbers in env variables"
3338 # The awk command to increase the version number was copied from
5560
5661 - name : " Ensure current snapshot version matches release version"
5762 run : |
58- grep -q "version=' ${{ env.RELEASE_VERSION_WITHOUT_SUFFIX }}-SNAPSHOT' " gradle.properties
63+ grep -q "version=${{ env.RELEASE_VERSION_WITHOUT_SUFFIX }}-SNAPSHOT" gradle.properties
5964 if [[ $? != 0 ]]; then
6065 echo '❌ Release failed: version in gradle.properties is not a snapshot for release version ${{ inputs.version }}' >> $GITHUB_STEP_SUMMARY
6166 exit 1
You can’t perform that action at this time.
0 commit comments