Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.

Commit 7cae1c1

Browse files
committed
bump version, update changelog
1 parent ceec6fa commit 7cae1c1

4 files changed

Lines changed: 25 additions & 58 deletions

File tree

‎.github/workflows/package.yml‎

Lines changed: 11 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
env:
1414
EP_GH_IGNORE_TIME: true
1515
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16+
AWS_ACCESS_KEY_ID: ${{ secrets.FILEBASE_ACCESS_KEY_ID }}
17+
AWS_SECRET_ACCESS_KEY: ${{ secrets.FILEBASE_SECRET_ACCESS_KEY }}
1618
APPLE_CERT_ID: ${{ secrets.APPLE_CERT_ID }}
1719
APPLE_API_KEY: ${{ secrets.APPLE_API_KEY }}
1820
APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}
@@ -91,52 +93,16 @@ jobs:
9193
# package
9294
cd $wd
9395
yarn run publish --win --linux --mac --x64 --arm64
94-
- name: publish changelog
95-
uses: actions/github-script@v4
96+
- name: upload
97+
uses: actions/upload-artifact@v3
9698
with:
97-
script: |
98-
// extract the repo and tag
99-
const { repo: githubRepo, ref } = context,
100-
{ owner, repo } = githubRepo,
101-
tag = ref.replace('refs/tags/', '').trim(),
102-
{ data } = await github.repos.getReleaseByTag({
103-
owner, repo, tag
104-
}),
105-
{ name, id: release_id } = data,
106-
// read the changelog
107-
logLines = require('fs').readFileSync('CHANGELOG.md').toString('utf-8').split('\n');
108-
109-
// find matching release in the changelog
110-
let body = [], found;
111-
for (let i = 0; i < logLines.length; i++) {
112-
const line = logLines[i];
113-
// if this line matches the target release header, start collecting lines
114-
if (line.indexOf(`# ${name}`) === 0) {
115-
found = true;
116-
continue;
117-
}
118-
119-
// if the release hasn't been seen yet, skip
120-
if (!found)
121-
continue;
122-
// if the line matches the next release header, stop
123-
else if (/^# [0-9]+\.[0-9]+\.[0-9]+/.test(line)) {
124-
body = body.join('\n').trim();
125-
break;
126-
}
127-
128-
// otherwise, add the line to the body
129-
body.push(line);
130-
}
131-
132-
// if we didn't find the body, throw an error
133-
if (!body.length)
134-
throw new Error(`could not find release body for ${name}`);
135-
136-
// update the release
137-
await github.repos.updateRelease({
138-
owner, repo, body, release_id
139-
});
99+
name: host manager ${{ github.ref_name }}
100+
path: |
101+
dist/*.AppImage
102+
dist/*.deb
103+
dist/*.exe
104+
dist/*.dmg
105+
dist/*.sha256
140106
- name: cleanup
141107
if: ${{ always() }}
142108
run: |

‎CHANGELOG.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
# 1.2.0 (2022-05-19)
1+
# 1.2.0 (2022-05-31)
22

33
## Changed
4-
+ Update to siad v1.5.8-rc1
4+
+ Update to siad v1.5.8
55
+ Use `yarn` instead of `npm`
6+
+ Add/Remove/Resize folder modals are non-blocking again.
67

78
## Added
89
+ arm64 releases for all platforms
910
+ Payout date column to show payout availability
1011
+ Renewed column to show if a contract has been renewed.
1112
+ Show pending payouts with wallet balance
12-
+ New alerts for sector removal and folder resize, addition, and deletion
13+
+ New alerts for all folder operations
1314

1415
# 1.1.1 (2021-11-15)
1516

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,5 @@
7676
"git add"
7777
]
7878
},
79-
"siaVersion": "1.5.8-rc1"
79+
"siaVersion": "1.5.8"
8080
}

‎vue.config.js‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module.exports = {
1919
afterSign: 'build/scripts/notarize.js',
2020
afterAllArtifactBuild: 'build/scripts/sign.js',
2121
/* eslint-disable no-template-curly-in-string */
22-
artifactName: '${productName}-v${version}-${arch}.${ext}',
22+
artifactName: '${productName}-v${version}-${os}-${arch}.${ext}',
2323
extraResources: [
2424
{
2525
/* eslint-disable no-template-curly-in-string */
@@ -32,11 +32,11 @@ module.exports = {
3232
],
3333
win: {
3434
/* eslint-disable no-template-curly-in-string */
35-
artifactName: '${productName}-v${version}-${arch}.${ext}'
35+
artifactName: '${productName}-v${version}-${os}-${arch}.${ext}'
3636
},
3737
mac: {
3838
/* eslint-disable no-template-curly-in-string */
39-
artifactName: '${productName}-v${version}-${arch}.${ext}',
39+
artifactName: '${productName}-v${version}-${os}-${arch}.${ext}',
4040
hardenedRuntime: true,
4141
// disabled due to new Apple notarization failing
4242
gatekeeperAssess: false,
@@ -46,7 +46,7 @@ module.exports = {
4646
linux: {
4747
executableName: 'Sia Host Manager',
4848
/* eslint-disable no-template-curly-in-string */
49-
artifactName: '${productName}-v${version}-${arch}.${ext}',
49+
artifactName: '${productName}-v${version}-${os}-${arch}.${ext}',
5050
target: [
5151
'deb',
5252
'AppImage'
@@ -55,7 +55,7 @@ module.exports = {
5555
},
5656
appImage: {
5757
/* eslint-disable no-template-curly-in-string */
58-
artifactName: '${productName}-v${version}-${arch}.${ext}'
58+
artifactName: '${productName}-v${version}-${os}-${arch}.${ext}'
5959
},
6060
dmg: {
6161
// new apple notarization does not need the dmg signed
@@ -66,10 +66,10 @@ module.exports = {
6666
perMachine: true
6767
},
6868
publish: {
69-
provider: 'github',
70-
repo: 'host-manager',
71-
owner: 'siacentral',
72-
releaseType: 'prerelease'
69+
provider: 's3',
70+
bucket: 'siacentral',
71+
endpoint: 'https://s3.filebase.com',
72+
path: '/releases/host-manager'
7373
}
7474
}
7575
}

0 commit comments

Comments
 (0)