Skip to content

Commit

Permalink
Fixed filename in entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
schinery committed Mar 26, 2022
1 parent a2b6744 commit 0e5b5a1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COPY entrypoint.sh /entrypoint.sh

RUN apk update && apk add bash git curl jq && apk add --update nodejs npm && npm install -g semver

# Added Ruby and PG deps
# Added Ruby and gem deps
RUN apk add --no-cache build-base openssl postgresql-dev

ENTRYPOINT ["/entrypoint.sh"]
20 changes: 10 additions & 10 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: 'Github Tag and VERSION Bump'
description: 'Bump and push git tag on merge'
author: 'Nick Sjostrom'
name: "Github Tag and VERSION Bump"
description: "Bump and push git tag on merge"
author: "Nick Sjostrom"
runs:
using: 'docker'
image: 'Dockerfile'
using: "docker"
image: "Dockerfile"
outputs:
new_tag:
description: 'Generated tag'
description: "Generated tag"
tag:
description: 'The latest tag after running this action'
description: "The latest tag after running this action"
part:
description: 'The part of version which was bumped'
description: "The part of version which was bumped"
branding:
icon: 'git-merge'
color: 'purple'
icon: "git-merge"
color: "purple"
6 changes: 3 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ suffix=${PRERELEASE_SUFFIX:-beta}
verbose=${VERBOSE:-true}
filename=${VERSION_FILENAME:-VERSION}
bundle=${BUNDLE:-false}
bundler_version=${BUNDLER_VERSION:-2.2.21}
bundler_version=${BUNDLER_VERSION:-2.3.7}
bundle_path=${BUNDLE_PATH:-vendor/bundle}

cd ${GITHUB_WORKSPACE}/${source}
Expand Down Expand Up @@ -164,7 +164,7 @@ fi

echo ::set-output name=tag::$new

# Bump version file
# Bump VERSION file
git remote add github "https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY.git"
git pull github ${GITHUB_REF} --ff-only

Expand All @@ -184,7 +184,7 @@ then
git add Gemfile.lock
fi

git add filename
git add $filename
git commit -m "Bump version to $COMMIT_TITLE"

git push github HEAD:${GITHUB_REF}
Expand Down

0 comments on commit 0e5b5a1

Please sign in to comment.