Skip to content

Commit

Permalink
Merge pull request #1979 from Zemnmez/just-git-refs-for-next-versions
Browse files Browse the repository at this point in the history
Just use git refs for next.js versions
  • Loading branch information
Zemnmez authored Jan 19, 2023
2 parents 244055a + df17ea0 commit 16db87f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts/next.js/rules.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def next_project(name, srcs, **kwargs):
outs = ["buildid.sed"],
srcs = [name + "_latest_commit"],
cmd_bash = """
echo "s|/\\*REPLACE\\*/ throw new Error() /\\*REPLACE\\*/|return \\"https://github.com/zemnmez/monorepo/commit/$$(cat $(location """ +
echo "s|/\\*REPLACE\\*/ throw new Error() /\\*REPLACE\\*/|return \\"$$(cat $(location """ +
name +
"""_latest_commit))\\"|g" >$@
""",
Expand Down

0 comments on commit 16db87f

Please sign in to comment.