Giter Site home page Giter Site logo

bidrag-actions's People

Contributors

jactor-rises avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

bidrag-actions's Issues

DevOps release

Når ting merges til master og det er angitt at releaseinnslag i README.md som ikke er tagget, kjør en git. tag

release-prepare-mvn-pkg/prepare-release.sh leser inn snapshot-versjon med innrykk

release-prepare-mvn-pkg/prepare-release.sh leser inn snapshot-versjon med innrykk.

Endre

RELEASE_VERSION=$(cat pom.xml | grep version | grep SNAPSHOT | \ sed 's/version//g' | sed 's/ //' | sed 's/-SNAPSHOT//' | sed 's;[</>];;g')

til

RELEASE_VERSION=$(cat pom.xml | grep version | grep SNAPSHOT | \ sed 's/version//g' | sed 's/ //' | sed 's/-SNAPSHOT//' | sed 's;[</>];;g' | xargs)

for å bli kvitt problemet

rename input parameter in tag-and-commit/action.yml

this will further the reading of the action and use the same naming standard as the other actions.

from file_is_releaseto is_auto_release_file_name
from tag_file to release_version_file_name

note.. fix up tag-and-commit/git.sh for this change

count number of SNAPSHOT dependencies in maven script

The action verify-mvn-dependencies which run the shell script verify.sh will fail when the environment variable COUNT (of SNAPSHOT) is greater than 0.

I would like to fail this script if any commands have an exit code not like 0, ie start the script with:

#!/bin/bash
set -e

However, this backfires because when the command grep -c encounters 0 targets (i.e. do not find any SNAPSHOT dependencies) it fails with exit code 1.

This is the number which it should NOT fail with, so these are the actions for this enhancement:

  1. tell the script to fail fast, ie start with:
#!/bin/bash
set -e
  1. configure the grep command to not fail when grep -c SNAPSHOT = 0
    OR
    add the text SNAPSHOT to the dependency-graph and subtract this one occurrence before checking that the value is 0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.