Skip to content
Permalink
Browse files

Fix paths to *_REVISION files

The build process was changed a bit and the files are now in a
different directory.
  • Loading branch information...
AlexDaniel committed Jun 21, 2019
1 parent 9733471 commit c5830f4c8377f37e2d0b38d98f571e5710c1771f
Showing with 6 additions and 6 deletions.
  1. +6 βˆ’6 tools/releasable/Sakefile
@@ -243,7 +243,7 @@ task β€˜rakudo-canary-upload’, {
########## NQP ##########

task β€˜nqp-bump-moar’, sub ($?) { # Step ❢ (nqp release guide)
if $version-moar eq trim-trailing slurp β€œ$NQP-PATH/tools/build/MOAR_REVISION” {
if $version-moar eq trim-trailing slurp β€œ$NQP-PATH/tools/templates/MOAR_REVISION” {
note β€œMoarVM version is already bumped to $version-moar”;
return
}
@@ -261,9 +261,9 @@ task β€˜nqp-bump-moar’, sub ($?) { # Step ❢ (nqp release guide)
die β€œIncorrect VERSION file on $version-moar tag ($actual-version-moar)”
}

spurt β€œ$NQP-PATH/tools/build/MOAR_REVISION”, β€œ$version-moar\n”;
spurt β€œ$NQP-PATH/tools/templates/MOAR_REVISION”, β€œ$version-moar\n”;
run <git commit -m>, β€œ[release] Bump MoarVM revision to $version-moar”,
β€˜--’, β€˜tools/build/MOAR_REVISION’, :cwd($NQP-PATH);
β€˜--’, β€˜tools/templates/MOAR_REVISION’, :cwd($NQP-PATH);
# TODO ensure signing
True
}
@@ -406,7 +406,7 @@ task β€˜rakudo-nqp’, { # Step ❼ (rakudo release guide)
}

task β€˜rakudo-bump-nqp’, sub ($?) { # Step ❽ (rakudo release guide)
if $version-nqp eq trim-trailing slurp β€œ$RAKUDO-PATH/tools/build/NQP_REVISION” {
if $version-nqp eq trim-trailing slurp β€œ$RAKUDO-PATH/tools/templates/NQP_REVISION” {
note β€œNQP version is already bumped to $version-nqp”;
return
}
@@ -423,9 +423,9 @@ task β€˜rakudo-bump-nqp’, sub ($?) { # Step ❽ (rakudo release guide)
die β€œIncorrect VERSION file on $version-nqp tag ($actual-version-nqp)”
}

spurt β€œ$RAKUDO-PATH/tools/build/NQP_REVISION”, β€œ$version-nqp\n”;
spurt β€œ$RAKUDO-PATH/tools/templates/NQP_REVISION”, β€œ$version-nqp\n”;
run <git commit -m>, β€œ[release] Bump NQP revision to $version-nqp”,
β€˜--’, β€˜tools/build/NQP_REVISION’, :cwd($RAKUDO-PATH);
β€˜--’, β€˜tools/templates/NQP_REVISION’, :cwd($RAKUDO-PATH);
# TODO ensure signing
True
}

0 comments on commit c5830f4

Please sign in to comment.
You can’t perform that action at this time.