Skip to content

Commit f0e82b7

Browse files
committed
1.0.1
1 parent c02d8cc commit f0e82b7

5 files changed

Lines changed: 11 additions & 8 deletions

File tree

.github/workflows/post-release-mergeback.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,11 @@ jobs:
7474
set +e # don't fail on an errored command
7575
git ls-remote --tags origin | grep "$VERSION"
7676
EXISTS="$?"
77-
if [ "$EXISTS" -ne 0 ]; then
78-
echo "::set-output name=exists::true"
79-
echo "Tag $TAG exists. Not going to re-release."
77+
if [ "$EXISTS" -eq 0 ]; then
78+
echo "Tag $TAG exists. Not going to re-release."
79+
echo "::set-output name=exists::true"
80+
else
81+
echo "Tag $TAG does not exist yet."
8082
fi
8183
8284
# we didn't tag the release during the update-release-branch workflow because the
@@ -88,6 +90,7 @@ jobs:
8890
VERSION: ${{ steps.getVersion.outputs.version }}
8991
run: |
9092
git tag -a "$VERSION" -m "$VERSION"
93+
git fetch --unshallow # unshallow the repo in order to allow pushes
9194
git push origin --follow-tags "$VERSION"
9295
9396
- name: Create mergeback branch

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codeql",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"private": true,
55
"description": "CodeQL action",
66
"scripts": {

runner/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

runner/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codeql-runner",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"private": true,
55
"description": "CodeQL runner",
66
"scripts": {

0 commit comments

Comments
 (0)