Skip to content

Commit

Permalink
meta: temporary adjust release script for the beta
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed May 30, 2022
1 parent a3b20ba commit ea17f17
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release-candidate.yml
Expand Up @@ -39,8 +39,6 @@ jobs:
run: corepack yarn version apply --all --json | jq -s > releases.json
- name: Prepare changelog
run: corepack yarn workspace @uppy-dev/release update-changelogs releases.json | xargs git add
- name: Update contributors table
run: corepack yarn contributors:save && corepack yarn remark -foq README.md && git add README.md
- name: Update CDN URLs
run: corepack yarn workspace @uppy-dev/release update-version-URLs | xargs git add
- name: Stage changes and remove temp files
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Login to NPM
run: corepack yarn config set npmAuthToken ${{ toJSON(secrets.NPM_TOKEN) }}
- name: Publish to NPM
run: corepack yarn workspaces foreach --no-private npm publish --access public --tolerate-republish
run: corepack yarn workspaces foreach --no-private npm publish --access public --tag next --tolerate-republish
- name: Merge PR
id: merge
run: |
Expand All @@ -62,7 +62,7 @@ jobs:
id: uppyVersion
run: jq -r '"##[set-output name=version;]"+.version' < packages/uppy/package.json
- name: Create GitHub release
run: gh release create uppy@${{ steps.uppyVersion.outputs.version }} -t "Uppy ${{ steps.uppyVersion.outputs.version }}" -F CHANGELOG.diff.md
run: gh release create uppy@${{ steps.uppyVersion.outputs.version }} -t "Uppy ${{ steps.uppyVersion.outputs.version }}" -F CHANGELOG.diff.md --prerelease
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload `uppy` to CDN
Expand Down
4 changes: 2 additions & 2 deletions private/release/choose-semverness.js
Expand Up @@ -81,7 +81,7 @@ export default async function pickSemverness (
{ title: 'Minor', value: 'minor' },
{ title: 'Major', value: 'major' },
],
initial: 2,
initial: 0,
})

if (!response.value) {
Expand Down Expand Up @@ -141,7 +141,7 @@ export default async function pickSemverness (
{ title: 'Minor', value: 'minor', disabled: robodogSemverness === 'major' },
{ title: 'Major', value: 'major' },
],
initial: 2,
initial: 0,
})

releaseFile.write(` "@uppy/robodog": ${response.value}\n`)
Expand Down
2 changes: 1 addition & 1 deletion private/release/config.js
@@ -1,3 +1,3 @@
export const REPO_OWNER = 'transloadit'
export const REPO_NAME = 'uppy'
export const TARGET_BRANCH = 'main'
export const TARGET_BRANCH = '3.x'

0 comments on commit ea17f17

Please sign in to comment.