diff --git a/.github/workflows/versioning-workflow.yml b/.github/workflows/versioning-workflow.yml new file mode 100644 index 00000000..6364e363 --- /dev/null +++ b/.github/workflows/versioning-workflow.yml @@ -0,0 +1,38 @@ +name: Versioning-workflow +on: + push: + branches: + - main + - staging + - development + + +permissions: + contents: read # for checkout + +jobs: + release: + name: Versioning + runs-on: ubuntu-latest + permissions: + contents: write # to be able to publish a GitHub release + issues: write # to be able to comment on released issues + pull-requests: write # to be able to comment on released pull requests + id-token: write # to enable use of OIDC for npm provenance + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: "lts/*" + - name: Install dependencies + run: npm clean-install + - name: Verify the integrity of provenance attestations and registry signatures for installed dependencies + run: npm audit signatures + - name: Release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: npx semantic-release \ No newline at end of file diff --git a/.releaserc.yml b/.releaserc.yml index 685a7705..655cdca9 100644 --- a/.releaserc.yml +++ b/.releaserc.yml @@ -1,14 +1,12 @@ { - "branches": ["main", "development"], + "branches": ["main", {"name": "development", "prerelease": true}, {"name": "staging", "prerelease": true}], "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", ["@semantic-release/npm", { "npmPublish": false }], - ["@semantic-release/gitlab", { - "gitlabUrl": "https://gitlab.cc-asp.fraunhofer.de/" - }], + ["@semantic-release/github"], ["@semantic-release/git", { "assets": ["package.json"], "message": "chore(Release): ${nextRelease.version}\n\n${nextRelease.notes}" diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index c8df2cc9..0eb99ac6 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -12,7 +12,7 @@ and orientation. We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community. -## Our Standards +## Our Standardsbnm, Examples of behavior that contributes to a positive environment for our community include: diff --git a/README.md b/README.md index 38c49a9a..037912df 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,16 @@ # AASPortal [![Documentation Status](https://readthedocs.org/projects/aasportal/badge/?version=latest "Documentation Status")](https://aasportal.readthedocs.io/en/latest/?badge=latest) ![AASPortal Logo <](./docs/source/images/AASPortal_mid.png "AASPortal Logo") - **AASPortal** is a Node.js based web portal for the visualization and management of Asset Administration Shells (AAS). The implementation uses the concepts of the document "Details of the Asset Administration Shell" published on https://www.plattform-i40.de and licensed under Creative Commons CC BY 4.0. Check out the [Getting Started](./docs/source/gettingstarted.md) section to learn how to setup Visual Studio Code and start using and developing the *AASPortal*. Learn more about the [Architecture](./docs/source/architecture.md) of *AASPortal*, and check out the [Usage](./docs/source/usage.md) section to learn about available search filters for AAS and which Endpoints can be connected to the *AASPortal*. For more details about the AASPortal see the full documentation :blue_book: [here](https://aasportal.readthedocs.io/en/latest/?badge=latest). - **AASPortal is under active development and we are looking forward to your active contributions!** - ## Prerequisites - Visual Studio Code - Node.js v18.10.0 -- GIT 2.36.0.windows.1 +- GIT 2.36.0.windows - Docker Desktop 4.x ## Getting Started diff --git a/package.json b/package.json index d93ac8c6..c3242b0d 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ }, "repository": { "type": "git", - "url": "https://gitlab.cc-asp.fraunhofer.de/iosb-ina-big-data-plattformen/aasportal.git" + "url": "https://github.com/AlexanderWollbrink/AASPortal_pipeline.git" }, "author": "Fraunhofer IOSB-INA", "homepage": "https://www.iosb-ina.fraunhofer.de/",