Skip to content

Commit

Permalink
use full sha
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhardikjoshi committed Jan 12, 2024
1 parent 07ea9a7 commit 2f50fe3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e_tests/setup.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/sh

echo "SHA=$(git rev-parse --short "$GITHUB_SHA")" >> $GITHUB_ENV
echo "SHA=$(git rev-parse "$GITHUB_SHA")" >> $GITHUB_ENV
gem install rails -v 7.1.2 --no-document
# /Users/hardik_joshi/work/open_source/activegraph/docs/activegraph.rb
sed 's/.*activegraph.*/gem '"'"'activegraph'"'"', github: "neo4jrb\/activegraph", ref: "'"$(git rev-parse --short "$GITHUB_SHA")"'"/' docs/activegraph.rb > template.tmp
sed 's/.*activegraph.*/gem '"'"'activegraph'"'"', github: "neo4jrb\/activegraph", ref: "'"$(git rev-parse "$GITHUB_SHA")"'"/' docs/activegraph.rb > template.tmp
rails _7.1.2_ new myapp -O -m ./template.tmp
# cd myapp
# bundle exec rails generate model User name:string
Expand Down

0 comments on commit 2f50fe3

Please sign in to comment.