Skip to content

Commit 24cfa4f

Browse files
ForestEckhardtsophiewigmore
authored andcommitted
Updates draft release workflow
- Makes the workflow more similar to the draft release workflow for the packit buildpacks
1 parent 7eb236e commit 24cfa4f

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/create-release.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,23 @@ jobs:
2525
needs: unit
2626
steps:
2727
- name: Setup Go
28-
uses: actions/setup-go@v1
28+
uses: actions/setup-go@v2.1.3
2929
with:
30-
go-version: 1.16
30+
go-version: 1.16.x
31+
- name: Checkout
32+
uses: actions/checkout@v2
33+
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* || true
3134
- name: Reset Draft Release
35+
id: reset
3236
uses: paketo-buildpacks/github-config/actions/release/reset-draft@main
3337
with:
3438
repo: ${{ github.repository }}
3539
token: ${{ github.token }}
36-
- name: Checkout
37-
uses: actions/checkout@v2
38-
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
3940
- name: Tag
4041
id: tag
4142
uses: paketo-buildpacks/github-config/actions/tag/increment-tag@main
43+
with:
44+
current_version: ${{ steps.reset.outputs.current_version }}
4245
- name: Package Jam
4346
run : ./scripts/package.sh
4447
- name: Create Draft Release

0 commit comments

Comments
 (0)