Skip to content

Commit f181155

Browse files
fix: update versioning placeholders and checksums across packaging files
1 parent 64fa34d commit f181155

10 files changed

Lines changed: 20 additions & 19 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ jobs:
142142
-e "s/VERSION_PLACEHOLDER/${VERSION}/g" \
143143
-e "s/SHA256_PLACEHOLDER/${{ steps.hashes.outputs.source }}/g" \
144144
-e "s/SHA256_ARM64_PLACEHOLDER/${{ steps.hashes.outputs.osx_arm64 }}/g" \
145+
-e "s/SHA256_WIN_PLACEHOLDER/${{ steps.hashes.outputs.win_x64 }}/g" \
145146
-e "s/SHA256_X64_PLACEHOLDER/${{ steps.hashes.outputs.osx_x64 }}/g" \
146147
-e "s/SHA256_LINUX_PLACEHOLDER/${{ steps.hashes.outputs.linux_x64 }}/g" \
147148
"$1"

packaging/aur/.SRCINFO

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
pkgbase = mdterm
22
pkgdesc = Render Markdown files beautifully in the terminal
3-
pkgver = 1.2.8
3+
pkgver = VERSION_PLACEHOLDER
44
pkgrel =1
55
url = https://github.com/fasterinnerlooper/mdterm
66
arch = x86_64
77
license = MIT
88
depends = glibc
9-
source = https://github.com/fasterinnerlooper/mdterm/releases/download/v1.2.8/mdterm-linux-x64.tar.gz
10-
sha256sums = 3b6629e46dff3a37c80c2096c2014248984e6a0d2e4acaed8f06f52180b04011
9+
source = https://github.com/fasterinnerlooper/mdterm/releases/download/vVERSION_PLACEHOLDER/mdterm-linux-x64.tar.gz
10+
sha256sums = SHA256_LINUX_PLACEHOLDER
1111

1212
pkgname = mdterm

packaging/aur/PKGBUILD

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Maintainer: fasterinnerlooper <shafiq.jetha@outlook.com>
22
pkgname=mdterm
3-
pkgver=1.2.8
3+
pkgver=VERSION_PLACEHOLDER
44
pkgrel=1
55
pkgdesc="Render Markdown files beautifully in the terminal"
66
arch=('x86_64')
77
url="https://github.com/fasterinnerlooper/mdterm"
88
license=('MIT')
99
depends=('glibc')
10-
source=("https://github.com/fasterinnerlooper/mdterm/releases/download/v1.2.8/mdterm-linux-x64.tar.gz")
11-
sha256sums=('3b6629e46dff3a37c80c2096c2014248984e6a0d2e4acaed8f06f52180b04011')
10+
source=("https://github.com/fasterinnerlooper/mdterm/releases/download/vVERSION_PLACEHOLDER/mdterm-linux-x64.tar.gz")
11+
sha256sums=('SHA256_LINUX_PLACEHOLDER')
1212

1313
package() {
1414
install -Dm755 "$srcdir/mdterm-linux-x64/mdterm" "$pkgdir/usr/bin/mdterm"

packaging/chocolatey/mdterm.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
33
<metadata>
44
<id>mdterm</id>
5-
<version>1.1.5</version>
5+
<version>VERSION_PLACEHOLDER</version>
66
<title>MdTerm</title>
77
<authors>fasterinnerlooper</authors>
88
<projectUrl>https://github.com/fasterinnerlooper/mdterm</projectUrl>

packaging/chocolatey/tools/chocolateyInstall.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
$ErrorActionPreference = 'Stop'
22

33
$packageName = 'mdterm'
4-
$url64 = 'https://github.com/fasterinnerlooper/mdterm/releases/download/v1.1.5/mdterm-win-x64.zip'
5-
$checksum64 = '3b6629e46dff3a37c80c2096c2014248984e6a0d2e4acaed8f06f52180b04011'
4+
$url64 = 'https://github.com/fasterinnerlooper/mdterm/releases/download/vVERSION_PLACEHOLDER/mdterm-win-x64.zip'
5+
$checksum64 = 'SHA256_WIN_PLACEHOLDER'
66

77
$packageArgs = @{
88
packageName = $packageName

packaging/homebrew/mdterm.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
class Mdterm < Formula
22
desc "Render Markdown files beautifully in the terminal"
33
homepage "https://github.com/fasterinnerlooper/mdterm"
4-
sha256 ""
4+
sha256 "SHA256_PLACEHOLDER"
55
license "MIT"
6-
url "https://github.com/fasterinnerlooper/mdterm/archive/refs/tags/v1.2.9.tar.gz"
6+
url "https://github.com/fasterinnerlooper/mdterm/archive/refs/tags/vVERSION_PLACEHOLDER.tar.gz"
77

88
depends_on "dotnet@9" => :build
99

packaging/scoop/mdterm.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"version": "1.1.5",
2+
"version": "VERSION_PLACEHOLDER",
33
"description": "Render Markdown files beautifully in the terminal",
44
"homepage": "https://github.com/fasterinnerlooper/mdterm",
55
"license": "MIT",
66
"architecture": {
77
"64bit": {
8-
"url": "https://github.com/fasterinnerlooper/mdterm/releases/download/v1.1.5/mdterm-win-x64.zip",
9-
"hash": "3b6629e46dff3a37c80c2096c2014248984e6a0d2e4acaed8f06f52180b04011",
8+
"url": "https://github.com/fasterinnerlooper/mdterm/releases/download/v$version/mdterm-win-x64.zip",
9+
"hash": "SHA256_WIN_PLACEHOLDER",
1010
"extract_dir": "mdterm-win-x64"
1111
}
1212
},
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.9.0.schema.json
22
PackageIdentifier: fasterinnerlooper.mdterm
3-
PackageVersion: 1.1.5
3+
PackageVersion: VERSION_PLACEHOLDER
44
InstallerType: zip
55
NestedInstallerType: portable
66
NestedInstallerFiles:
77
- RelativeFilePath: mdterm.exe
88
Installers:
99
- Architecture: x64
10-
InstallerUrl: https://github.com/fasterinnerlooper/mdterm/releases/download/v1.1.5/mdterm-win-x64.zip
11-
InstallerSha256: 3b6629e46dff3a37c80c2096c2014248984e6a0d2e4acaed8f06f52180b04011
10+
InstallerUrl: https://github.com/fasterinnerlooper/mdterm/releases/download/vVERSION_PLACEHOLDER/mdterm-win-x64.zip
11+
InstallerSha256: SHA256_WIN_PLACEHOLDER
1212
ManifestType: installer
1313
ManifestVersion: 1.9.0

packaging/winget/fasterinnerlooper.mdterm.locale.en-US.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# yaml-language-server: $schema=https://aka.ms/winget-manifest.defaultLocale.1.9.0.schema.json
22
PackageIdentifier: fasterinnerlooper.mdterm
3-
PackageVersion: 1.1.5
3+
PackageVersion: VERSION_PLACEHOLDER
44
PackageLocale: en-US
55
Publisher: fasterinnerlooper
66
PublisherUrl: https://github.com/fasterinnerlooper
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# yaml-language-server: $schema=https://aka.ms/winget-manifest.version.1.9.0.schema.json
22
PackageIdentifier: fasterinnerlooper.mdterm
3-
PackageVersion: 1.1.5
3+
PackageVersion: VERSION_PLACEHOLDER
44
DefaultLocale: en-US
55
ManifestType: version
66
ManifestVersion: 1.9.0

0 commit comments

Comments
 (0)