From 56105f1d1e1cece81672387f749c2e148f95533c Mon Sep 17 00:00:00 2001 From: Angel Dijoux Date: Wed, 16 Oct 2024 15:55:50 +0200 Subject: [PATCH] ci: just release in ci, no publish --- .github/workflows/CHANGELOG.md | 56 ---------------------------------- .github/workflows/cicd.yaml | 18 +++++------ CHANGELOG.md | 7 ++++- package-lock.json | 4 +-- package.json | 2 +- 5 files changed, 18 insertions(+), 69 deletions(-) delete mode 100644 .github/workflows/CHANGELOG.md diff --git a/.github/workflows/CHANGELOG.md b/.github/workflows/CHANGELOG.md deleted file mode 100644 index 7c55261..0000000 --- a/.github/workflows/CHANGELOG.md +++ /dev/null @@ -1,56 +0,0 @@ -## Unreleased (292e5db..4c3b93b) -#### Bug Fixes -- notified issues - (89f490b) - Angel Dijoux -- rollback version - (38f8dce) - Angel Dijoux -- remove files directive from package.json - (471e275) - Angel Dijoux -- template path - (45b1622) - Angel Dijoux -- windows, linux path issue - (8398ded) - Angel Dijoux -- template path - (dfa4c70) - Angel Dijoux -- types issues - (5a4fcc1) - Angel Dijoux -- almost all gql type error - (d1ab310) - Angel Dijoux -#### Build system -- 1.2.0 - (c5a33cf) - Angel Dijoux -- 1.1.0 - (83cdbb7) - Angel Dijoux -- 1.0.0 - (f7237cc) - Angel Dijoux -- 1.0.0 - (132731f) - Angel Dijoux -- 2.0.0 - (9db389f) - Angel Dijoux -- 1.0.0 - (773161f) - Angel Dijoux -- 0.5.0 - (362ae7a) - Angel Dijoux -- 0.4.0 - (f44e1bc) - Angel Dijoux -- 0.3.0 - (fac016d) - Angel Dijoux -- 0.2.0 - (8f5a34c) - Angel Dijoux -- 0.1.0 - (cd08aef) - Angel Dijoux -#### Continuous Integration -- **(fix)** typo - (80ff6de) - Angel Dijoux -- remove conditions on runnig - (4c3b93b) - Angel Dijoux -- be able to run workflow manually - (d11f98e) - Angel Dijoux -- fix git check - (286eeb3) - Angel Dijoux -- add workflow file - (22b5ec2) - Angel Dijoux -#### Documentation -- create documentation - (218f5b2) - Angel Dijoux -#### Features -- support oauth login - (9b59f90) - Angel Dijoux -- support uplaod + refaco uplaod progress - (1cdcd3d) - Angel Dijoux -- support interactive login - (35c18a7) - Angel Dijoux -- detect aqora project - (1bb74f1) - Angel Dijoux -- be able to test from vscode commands - (b57b8b1) - Angel Dijoux -- fix auth, clone template - (8af0ba9) - Angel Dijoux -- trigger login from cli - (5123642) - Angel Dijoux -- init vscode framework - (9e0177a) - Angel Dijoux -- first commit - (292e5db) - Angel Dijoux -#### Miscellaneous Chores -- **(revert)** downgrade minimum vscode version require - (293c52c) - Angel Dijoux -- generate changelog - (6d5c54c) - Angel Dijoux -- remove changelog - (029f8df) - Angel Dijoux -- fix score reading - (8092e37) - Angel Dijoux -- add changelog - (bccc027) - Angel Dijoux -- move files - (04b42b9) - Angel Dijoux -- remove interactive login - (4d8912c) - Angel Dijoux -- improve the semver type - (5eb24cd) - Angel Dijoux -- downgrade minimum vscode version require - (31cbf41) - Angel Dijoux -- define exmple of gql query + generate schema - (b4b66f0) - Angel Dijoux -#### Refactoring -- commands layer - (f4c514f) - Angel Dijoux -- migrate to apollo graphql - (1cb589d) - Angel Dijoux - - diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index e5f4e6b..a83e807 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -14,9 +14,9 @@ jobs: git_check: uses: ./.github/workflows/git_check.yaml - publish-extension: + package-extension: needs: git_check - name: Publish VSCode Extension + name: Package VSCode Extension runs-on: ubuntu-latest if: "startsWith(github.ref, 'refs/tags/')" steps: @@ -34,12 +34,12 @@ jobs: - name: Install VSCE (CLI for managing VS Code extensions) run: npm install -g @vscode/vsce - - name: Pre-Bump Hook (Cargo Set Version) - run: cargo set-version {{version}} + - name: Package Extension + run: vsce package - - name: Package and Publish Extension - run: | - vsce package - vsce publish + - name: Upload Release to GitHub + uses: softprops/action-gh-release@v2 + with: + files: "*.vsix" env: - VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index ab07c9c..cfb038e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## Unreleased (292e5db..029f8df) +## v1.2.1 - 2024-10-16 #### Bug Fixes - notified issues - (89f490b) - Angel Dijoux - rollback version - (38f8dce) - Angel Dijoux @@ -22,6 +22,8 @@ - 0.1.0 - (cd08aef) - Angel Dijoux #### Continuous Integration - **(fix)** typo - (80ff6de) - Angel Dijoux +- just release in ci, no publish - (a940e9e) - Angel Dijoux +- remove conditions on runnig - (4c3b93b) - Angel Dijoux - be able to run workflow manually - (d11f98e) - Angel Dijoux - fix git check - (286eeb3) - Angel Dijoux - add workflow file - (22b5ec2) - Angel Dijoux @@ -39,6 +41,9 @@ - first commit - (292e5db) - Angel Dijoux #### Miscellaneous Chores - **(revert)** downgrade minimum vscode version require - (293c52c) - Angel Dijoux +- bump version to 1.2.1 - (1929488) - Angel Dijoux +- gen new changelog - (343e33b) - Angel Dijoux +- generate changelog - (6d5c54c) - Angel Dijoux - remove changelog - (029f8df) - Angel Dijoux - fix score reading - (8092e37) - Angel Dijoux - add changelog - (bccc027) - Angel Dijoux diff --git a/package-lock.json b/package-lock.json index 83b2ef7..58e1a02 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "aqora", - "version": "1.2.0", + "version": "1.2.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "aqora", - "version": "1.2.0", + "version": "1.2.1", "dependencies": { "@graphql-typed-document-node/core": "^3.2.0", "@msgpack/msgpack": "^3.0.0-beta2", diff --git a/package.json b/package.json index 307eed5..b9b75bd 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "aqora", "displayName": "aqora", "description": "aqora cli wrapped for vscode", - "version": "1.2.0", + "version": "1.2.1", "publisher": "aqora-quantum", "repository": "https://github.com/aqora-io/vscode-aqora", "engines": {