From: Dan Brown Date: Tue, 20 Apr 2021 21:47:15 +0000 (+0100) Subject: Removed beta from meta scripts X-Git-Url: http://source.bookstackapp.com/devops/commitdiff_plain/eb2eb7e85b3a72d3b182b7c3bb9419ff890d84c8 Removed beta from meta scripts --- diff --git a/meta-scripts/bookstack-changelog b/meta-scripts/bookstack-changelog index f594234..b4c318c 100755 --- a/meta-scripts/bookstack-changelog +++ b/meta-scripts/bookstack-changelog @@ -55,13 +55,13 @@ $splitVersion = explode('.', $version); $isFeature = intval(array_pop($splitVersion)) === 0; // Output title -output("# BookStack Beta {$version}\n"); +output("# BookStack {$version}\n"); // Output header text and links if ($isFeature) { $urlVersion = implode('0', $splitVersion); output("- [Update instructions](https://www.bookstackapp.com/docs/admin/updates)"); - output("- [Update details on blog](https://www.bookstackapp.com/blog/beta-release-{$urlVersion}/)"); + output("- [Update details on blog](https://www.bookstackapp.com/blog/bookstack-release-{$urlVersion}/)"); output("\n### Full List of Changes\n"); } else { output("\nThis release contains the following fixes and changes:\n"); diff --git a/meta-scripts/bookstack-new-release-blogpost b/meta-scripts/bookstack-new-release-blogpost index a696e01..cc7f0bf 100644 --- a/meta-scripts/bookstack-new-release-blogpost +++ b/meta-scripts/bookstack-new-release-blogpost @@ -13,7 +13,7 @@ if (!$key) { $unsplashId = read("Enter the unsplash image ID:"); $imageDesc = read("Enter a short one/two word description of the image:"); -$version = read("Enter the BookStack version (eg. v0.31.1):"); +$version = read("Enter the BookStack version (eg. v21.03 or v21.12.3):"); // Fetch and write out image $image = unsplashGet($unsplashId, $key); @@ -24,7 +24,7 @@ file_put_contents($imageOutPath, $imageContent); // Write out blogpost $hyphenVersion = str_replace('.', '-', trim($version)); -$postMdName = "beta-release-{$hyphenVersion}.md"; +$postMdName = "bookstack-release-{$hyphenVersion}.md"; $postMdOutPath = implode(DIRECTORY_SEPARATOR, [$siteDir, "content/blog", $postMdName]); $postMdContent = getPostMarkdown(); file_put_contents($postMdOutPath, $postMdContent); @@ -53,7 +53,7 @@ title = "Beta Release $version" date = $date author = "Dan Brown" image = "/images/blog-cover-images/$imageOutName" -slug = "beta-release-$hyphenVersion" +slug = "bookstack-release-$hyphenVersion" draft = false +++ diff --git a/meta-scripts/bookstack-release-steps b/meta-scripts/bookstack-release-steps index 6f1afc3..e42e9cf 100755 --- a/meta-scripts/bookstack-release-steps +++ b/meta-scripts/bookstack-release-steps @@ -1,6 +1,6 @@ #!/bin/bash -echo "Enter the full version (v0.25.5) and press [ENTER]:" +echo "Enter the full version (eg. v21.03 or v21.12.3) and press [ENTER]:" read version echo "" @@ -23,6 +23,6 @@ echo "" # Tag release and push it to GitHub -echo "git tag -a ${version} -m \"Beta Release ${version}\" -s" +echo "git tag -a ${version} -m \"Release ${version}\" -s" echo "git push origin release" echo "git push origin ${version}" \ No newline at end of file