From 7cae1c1363e8f9945d0cada936fb5432817e3a31 Mon Sep 17 00:00:00 2001 From: Nate Maninger Date: Tue, 31 May 2022 12:32:08 -0600 Subject: [PATCH] bump version, update changelog --- .github/workflows/package.yml | 56 +++++++---------------------------- CHANGELOG.md | 7 +++-- package.json | 2 +- vue.config.js | 18 +++++------ 4 files changed, 25 insertions(+), 58 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index a0ccd1e..75b6197 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -13,6 +13,8 @@ jobs: env: EP_GH_IGNORE_TIME: true GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + AWS_ACCESS_KEY_ID: ${{ secrets.FILEBASE_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.FILEBASE_SECRET_ACCESS_KEY }} APPLE_CERT_ID: ${{ secrets.APPLE_CERT_ID }} APPLE_API_KEY: ${{ secrets.APPLE_API_KEY }} APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }} @@ -91,52 +93,16 @@ jobs: # package cd $wd yarn run publish --win --linux --mac --x64 --arm64 - - name: publish changelog - uses: actions/github-script@v4 + - name: upload + uses: actions/upload-artifact@v3 with: - script: | - // extract the repo and tag - const { repo: githubRepo, ref } = context, - { owner, repo } = githubRepo, - tag = ref.replace('refs/tags/', '').trim(), - { data } = await github.repos.getReleaseByTag({ - owner, repo, tag - }), - { name, id: release_id } = data, - // read the changelog - logLines = require('fs').readFileSync('CHANGELOG.md').toString('utf-8').split('\n'); - - // find matching release in the changelog - let body = [], found; - for (let i = 0; i < logLines.length; i++) { - const line = logLines[i]; - // if this line matches the target release header, start collecting lines - if (line.indexOf(`# ${name}`) === 0) { - found = true; - continue; - } - - // if the release hasn't been seen yet, skip - if (!found) - continue; - // if the line matches the next release header, stop - else if (/^# [0-9]+\.[0-9]+\.[0-9]+/.test(line)) { - body = body.join('\n').trim(); - break; - } - - // otherwise, add the line to the body - body.push(line); - } - - // if we didn't find the body, throw an error - if (!body.length) - throw new Error(`could not find release body for ${name}`); - - // update the release - await github.repos.updateRelease({ - owner, repo, body, release_id - }); + name: host manager ${{ github.ref_name }} + path: | + dist/*.AppImage + dist/*.deb + dist/*.exe + dist/*.dmg + dist/*.sha256 - name: cleanup if: ${{ always() }} run: | diff --git a/CHANGELOG.md b/CHANGELOG.md index 6be9c69..62b7383 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,16 @@ -# 1.2.0 (2022-05-19) +# 1.2.0 (2022-05-31) ## Changed -+ Update to siad v1.5.8-rc1 ++ Update to siad v1.5.8 + Use `yarn` instead of `npm` ++ Add/Remove/Resize folder modals are non-blocking again. ## Added + arm64 releases for all platforms + Payout date column to show payout availability + Renewed column to show if a contract has been renewed. + Show pending payouts with wallet balance -+ New alerts for sector removal and folder resize, addition, and deletion ++ New alerts for all folder operations # 1.1.1 (2021-11-15) diff --git a/package.json b/package.json index 48589d9..e9cc15c 100644 --- a/package.json +++ b/package.json @@ -76,5 +76,5 @@ "git add" ] }, - "siaVersion": "1.5.8-rc1" + "siaVersion": "1.5.8" } diff --git a/vue.config.js b/vue.config.js index 66d293d..d3d2340 100755 --- a/vue.config.js +++ b/vue.config.js @@ -19,7 +19,7 @@ module.exports = { afterSign: 'build/scripts/notarize.js', afterAllArtifactBuild: 'build/scripts/sign.js', /* eslint-disable no-template-curly-in-string */ - artifactName: '${productName}-v${version}-${arch}.${ext}', + artifactName: '${productName}-v${version}-${os}-${arch}.${ext}', extraResources: [ { /* eslint-disable no-template-curly-in-string */ @@ -32,11 +32,11 @@ module.exports = { ], win: { /* eslint-disable no-template-curly-in-string */ - artifactName: '${productName}-v${version}-${arch}.${ext}' + artifactName: '${productName}-v${version}-${os}-${arch}.${ext}' }, mac: { /* eslint-disable no-template-curly-in-string */ - artifactName: '${productName}-v${version}-${arch}.${ext}', + artifactName: '${productName}-v${version}-${os}-${arch}.${ext}', hardenedRuntime: true, // disabled due to new Apple notarization failing gatekeeperAssess: false, @@ -46,7 +46,7 @@ module.exports = { linux: { executableName: 'Sia Host Manager', /* eslint-disable no-template-curly-in-string */ - artifactName: '${productName}-v${version}-${arch}.${ext}', + artifactName: '${productName}-v${version}-${os}-${arch}.${ext}', target: [ 'deb', 'AppImage' @@ -55,7 +55,7 @@ module.exports = { }, appImage: { /* eslint-disable no-template-curly-in-string */ - artifactName: '${productName}-v${version}-${arch}.${ext}' + artifactName: '${productName}-v${version}-${os}-${arch}.${ext}' }, dmg: { // new apple notarization does not need the dmg signed @@ -66,10 +66,10 @@ module.exports = { perMachine: true }, publish: { - provider: 'github', - repo: 'host-manager', - owner: 'siacentral', - releaseType: 'prerelease' + provider: 's3', + bucket: 'siacentral', + endpoint: 'https://s3.filebase.com', + path: '/releases/host-manager' } } }