Skip to content

Commit

Permalink
Showing 5 changed files with 11 additions and 8 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/post-release-mergeback.yml
@@ -74,9 +74,11 @@ jobs:
set +e # don't fail on an errored command
git ls-remote --tags origin | grep "$VERSION"
EXISTS="$?"
if [ "$EXISTS" -ne 0 ]; then
echo "::set-output name=exists::true"
echo "Tag $TAG exists. Not going to re-release."
if [ "$EXISTS" -eq 0 ]; then
echo "Tag $TAG exists. Not going to re-release."
echo "::set-output name=exists::true"
else
echo "Tag $TAG does not exist yet."
fi
# we didn't tag the release during the update-release-branch workflow because the
@@ -88,6 +90,7 @@ jobs:
VERSION: ${{ steps.getVersion.outputs.version }}
run: |
git tag -a "$VERSION" -m "$VERSION"
git fetch --unshallow # unshallow the repo in order to allow pushes
git push origin --follow-tags "$VERSION"
- name: Create mergeback branch
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "codeql",
"version": "1.0.0",
"version": "1.0.1",
"private": true,
"description": "CodeQL action",
"scripts": {
2 changes: 1 addition & 1 deletion runner/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion runner/package.json
@@ -1,6 +1,6 @@
{
"name": "codeql-runner",
"version": "1.0.0",
"version": "1.0.1",
"private": true,
"description": "CodeQL runner",
"scripts": {

0 comments on commit f0e82b7

Please sign in to comment.